ES -export-txt with non-ASCII
Posted: Wed Feb 06, 2019 4:50 am
This is probably best explained with output from a command window. The first 3 lines show what happens when ES is executed normally and this is exactly what I expect to see. However, note what happens to "prüfung" (with diacritics) when output is written to a text file.
c:\test>es.exe prüfung -full-path-and-name
C:\test\prufung.txt
C:\test\prüfung.txt
c:\test>es.exe prüfung -full-path-and-name -export-txt exported.txt
c:\test>type exported.txt
C:\test\prufung.txt
C:\test\pr├╝fung.txt
c:\test>
My use case is to import the output from ES in order to create a Directory Opus collection. I can make this work by redirecting ES output to the clipboard and processing from there, but I would prefer to be able to rely on output written to an intermediate file.
es.exe is dated 27/06/2018
c:\test>es.exe prüfung -full-path-and-name
C:\test\prufung.txt
C:\test\prüfung.txt
c:\test>es.exe prüfung -full-path-and-name -export-txt exported.txt
c:\test>type exported.txt
C:\test\prufung.txt
C:\test\pr├╝fung.txt
c:\test>
My use case is to import the output from ES in order to create a Directory Opus collection. I can make this work by redirecting ES output to the clipboard and processing from there, but I would prefer to be able to rely on output written to an intermediate file.
es.exe is dated 27/06/2018