billh
Freshman Member
Posts: 10
|
Post by billh on Mar 23, 2022 17:21:04 GMT -5
In my file I have the Ω character scattered throughout. I'd like to be able to search for these. They are the ALT+234 character.
When I enter "F ALT+234" and hit enter, it says the find string is empty.
Is there are way to search for this type of character?
Thanks, Bill
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 24, 2022 17:23:08 GMT -5
Thanks for the very detailed reply. One of the reasons I love to use SPFLite is that I can use the exclude all command and then a find command and then exclude certain patterns and just work with the unexcluded lines. I can then use the change command to change just those unexcluded lines.
My file has thousands of Ω characters in it. These a grouped into about 10 different patterns. Trying to do anything like this in something like Notepad is next to impossible unless I'm missing something somewhere.
I will play around with F X'EA'.
Thanks again, Bill
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 24, 2022 22:03:18 GMT -5
Will do. Thanks for the tip. I will try it out in my file.
Thanks! Bill
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 25, 2022 15:00:37 GMT -5
The find command you actually want is F X'EA'
I edited a file using Notepad++ and entered some Omega symbols into the file using ALT+234. Then I used SPFLite to edit the file and used the command F X'EA' and it didn't find anything.
In SPFlite the character looked like this:
In hex it looked like this:
So I changed the command to F X'A4' and it found them fine.
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 25, 2022 16:58:08 GMT -5
Interesting. OK... I'll just have to use Notepad++ or some other editor.
Thanks, Bill
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 26, 2022 10:37:35 GMT -5
OK... good to know. I don't get an error message when opening the file that has the Ω characters. There is a problem though. When I make a change to the file and save it, the X'A4' character is written to the file and when I open it in Notepad++ the X'A4' character is there instead of the Ω. So I will know better than to use SPFLite on this file.
Thanks again, Bill
|
|
|
Post by Stefan on Mar 30, 2022 12:05:11 GMT -5
Robert,
You have WAY more knowledge than I in this field. Forgive me if this is a really daft question, but... Could Bill use SPFLite to edit his file if that instance of SPFLite were to use a different translation table? We have a table to translate ASCII to/from EBCDIC. Could a suitable table be crafted to make it work for Bill's file?
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 30, 2022 12:36:29 GMT -5
Thanks again Robert for the reply.
When editing this file in Notepad+ I have never specified a character set. When I edit the dataset it uses Encoding > UTF-8-BOM. It must determine the correct one to use form the file itself. That setting works just fine. Any Ω symbols remain Ω symbols after the edit.
I was just hoping SPFLite would work for me, but I can live with using Notepad++ on this file. I only wish Notepad++ had the same capabilities as SPFLite. :-)
Thanks, Bill
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 30, 2022 14:02:54 GMT -5
Robert,
The file I am editing is my genealogical database (.GEDCOM) file. The Ω character is used by a plugin for my genealogy program which is used to export files for uploading to online family trees like Ancestry and MyHeritage. The Ω symbol is used by the plugin to identify changes that were made to the data that was exported. There are other extended characters in the file as well as it contains foreign language characters used in people's names and in locations.
Bill
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 30, 2022 22:40:57 GMT -5
Robert,
I'm thinking we really don't need to go to those lengths. I am OK with using Notepad++ for editing this file. I don't need to do this often enough to have you spend time creating this table. I do really appreciate all the help and the offer.
Thanks, Bill
|
|
billh
Freshman Member
Posts: 10
|
Post by billh on Mar 31, 2022 11:21:12 GMT -5
Robert,
Yes, thank you very much. If this was something I did often, I might follow up on this. Your efforts are much appreciated.
Bill
|
|
|
Post by Stefan on Apr 14, 2022 2:00:21 GMT -5
Hi Billh,
Just purely by accident, I was looking at the other fonts which SPFLite provides.
There's one called "PixelCarnage Monospace" which appears to have the Omega symbol at code x'EA'
|
|