- May
- 13,604
- 201
Is Unicode to UTF8 supposed to work? I posted this in another thread.
Dan, your batch file piped to LIST worked OK for me using a 21K Unicode (BuildLog) HTM file. I know nothing of UTF8 so I tried this:
Since the output file was only 134 bytes, I doubt it was a correct conversion of the original. And using TYPE on it resulted in only a handful of characters being printed. So I'll start a thread about @UTF8ENCODE[].
Dan, your batch file piped to LIST worked OK for me using a 21K Unicode (BuildLog) HTM file. I know nothing of UTF8 so I tried this:
Code:
v:\> Set FileName=P:\synergy-1.3.1\gen\debug\buildlog.htm
v:\> echo %@filesize[%filename]
21262
v:\> echo %@utf8encode[%filename, utf8.htm]
0
v:\> dir /k /m utf8.htm
2012-08-28 20:17 134 utf8.htm
v:\> type utf8.htm
├┐├╛<
v:\>
Since the output file was only 134 bytes, I doubt it was a correct conversion of the original. And using TYPE on it resulted in only a handful of characters being printed. So I'll start a thread about @UTF8ENCODE[].