ES.exe export file not in UTF-8
ES.exe export file not in UTF-8
Thanks for the great tool.
Export from the GUI is in proper UTF-8, while es.exe export messes up Unicode characters in file names (for example, emojis like )
Export from the GUI is in proper UTF-8, while es.exe export messes up Unicode characters in file names (for example, emojis like )
Re: ES.exe export file not in UTF-8
How do you export? By redirecting the output on the command-line?
ES has some command-line options for exporting (ES.exe /?):
ES has some command-line options for exporting (ES.exe /?):
This will result in UTF8 encoded files.Export options
-export-csv <out.csv>
-export-efu <out.efu>
-export-txt <out.txt>
-export-m3u <out.m3u>
-export-m3u8 <out.m3u8>
Export to a file using the specified layout.
-no-header
Do not output a column header for CSV and EFU files.
Re: ES.exe export file not in UTF-8
Please try changing the code page of your console:
This will set the code page of your console to UTF-8.
Code: Select all
chcp 65001
Re: ES.exe export file not in UTF-8
Code: Select all
es.exe * -export-efu output.efu
I tried. Same result.void wrote: ↑Sun Sep 25, 2022 10:40 pm Please try changing the code page of your console:
This will set the code page of your console to UTF-8.Code: Select all
chcp 65001
Re: ES.exe export file not in UTF-8
How are viewing the EFU file?
Maybe your program is expecting a UTF-8 bom? -there is no UTF-8 bom in exported EFU files from Everything or ES.
What version of ES and you using?
es.exe -version
What version of Everything are you using?
Help -> About
If you can, could you please send the EFU file to support@voidtools.com
Maybe your program is expecting a UTF-8 bom? -there is no UTF-8 bom in exported EFU files from Everything or ES.
What version of ES and you using?
es.exe -version
What version of Everything are you using?
Help -> About
If you can, could you please send the EFU file to support@voidtools.com
Re: ES.exe export file not in UTF-8
ES-1.1.0.25 adds a -utf8-bom command line option to write a UTF-8 byte order mark at the start of the export file.
Re: ES.exe export file not in UTF-8
Notepad++. It automatically detects encoding. The export file created by the GUI opens in Notepad++ without a problem.
In both cases (GUI and ES.exe export) the file is read as UTF-8. The problem is that, with ES, many Unicode characters are messed up (replaced with question marks)
ES file: GUI file:
1.1.0.24 (and also tried with 1.1.0.25. Same result)What version of ES and you using?
1.4.1.1020What version of Everything are you using?
Re: ES.exe export file not in UTF-8
Thanks for the details, there is something odd going on with UTF-16 surrogates with ES.
I am able to reproduce the issue my end.
I am working on a fix..
I am able to reproduce the issue my end.
I am working on a fix..
Re: ES.exe export file not in UTF-8
Here are example files:
I noticed that ES.exe puts the BOM just before the Unicode character instead of at the beginning of the file.
I noticed that ES.exe puts the BOM just before the Unicode character instead of at the beginning of the file.
Re: ES.exe export file not in UTF-8
This happens even without the
Code: Select all
-utf8-bom
Thanks for the quick replies by the way.
Re: ES.exe export file not in UTF-8
Thanks for the EFU output.
ES was incorrectly exporting Unicode characters outside plane 0 ($ emoji)
This issue should be fixed in ES-1.1.0.26
ES was incorrectly exporting Unicode characters outside plane 0 ($ emoji)
This issue should be fixed in ES-1.1.0.26
Re: ES.exe export file not in UTF-8
Issue is fixed, confirmed. Thanks a lot.