Trying to find files that are using the original IBM PC CP437, and entering the vertical bar, i.e. ALT-196.
First issue is that it shows as the broken vertical bar,
Second issue is that it does not show any files in the search
Not tried any other CP437 characters, but it would surprise me if they worked, as all box-characters seem to be translated to +, -, and ¦
And no I'm not really interested in the workaround of entering ever string as a hex-string, as some have lengths well over 200 characters.
Search files on contents does not work for CP437 box characters
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Search files on contents does not work for CP437 box characters
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
-
admin
- Site Admin
- Posts: 65174
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Search files on contents does not work for CP437 box characters
FAQ | XY News RSS | XY X
Re: Search files on contents does not work for CP437 box characters
Nope, and Cut & Paste them from both a CP437 aware program, Notepad++, and one that doesn't know anything about UTF-8 (Ravitz Editor) gives the same result.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
-
admin
- Site Admin
- Posts: 65174
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Search files on contents does not work for CP437 box characters
Well, I have zero problems with these characters here. Can you send me a test file where it does not work?
FAQ | XY News RSS | XY X
Re: Search files on contents does not work for CP437 box characters
Cut & Paste adds a cr/lf, delete that, and it works. However, entering Alt-179 enters a broken vertical bar, and pasting the data from notepad++ when the encoding is set to OEM US pastes box characters, but they are not found. Try finding "│ Day │" using all three methods.
It might be useful to optionally remove cr/lf from the (last) line of pasted data...
It might be useful to optionally remove cr/lf from the (last) line of pasted data...
- Attachments
-
trip.h-h.txt- (547 Bytes) Downloaded 86 times
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here...
-
admin
- Site Admin
- Posts: 65174
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Search files on contents does not work for CP437 box characters
Content search uses the Active ANSI Code Page encoding, which probably is not CP437 (check out Help | Various Information. Here it is:
Active ANSI Code Page: 1252). So, to find │ Day │ you have to search for ³ Day ³.FAQ | XY News RSS | XY X
XYplorer Beta Club