Page MenuHomePhabricator

Public | Write Unicode characters to log file (UTF8)
Closed, ResolvedPublic

Description

Log file w/ ANSI mangling:

4/23/2020 3:59:13 AM: Copied (Destination File Didn't Exist): J:\home\Desktop\Folder Test\e??????? ???ssa\??????, ???.txt to Y:\Folder Test\e??????? ???ssa\??????, ???.txt
4/23/2020 3:59:13 AM: Copied (Destination File Didn't Exist): J:\home\Desktop\Folder Test\e??????? ???ssa\???? ????.txt to Y:\Folder Test\e??????? ???ssa\???? ????.txt
4/23/2020 3:59:13 AM: Created: Y:\Folder Test\??\
4/23/2020 3:59:13 AM: Copied (Destination File Didn't Exist): J:\home\Desktop\Folder Test\??\??.txt to Y:\Folder Test\??\??.txt

Event Timeline

Joe created this task.Apr 23 2020, 4:03 AM
Joe triaged this task as Normal priority.
Joe added a comment.Apr 23 2020, 4:49 AM

Now writing UTF8 (this is .rtf format, btw)

4/23/2020 4:47:57 AM: Copied (Destination File Didn't Exist): J:\\home\\Desktop\\Folder Test\\ελληνική γλώσσα\\Привет, мир.txt to Y:\\Folder Test\\ελληνική γλώσσα\\Привет, мир.txt\par
4/23/2020 4:47:57 AM: Copied (Destination File Didn't Exist): J:\\home\\Desktop\\Folder Test\\ελληνική γλώσσα\\שלום עולם.txt to Y:\\Folder Test\\ελληνική γλώσσα\\שלום עולם.txt\par
4/23/2020 4:47:57 AM: Created: Y:\\Folder Test\\真棒\\\par
4/23/2020 4:47:57 AM: Copied (Destination File Didn't Exist): J:\\home\\Desktop\\Folder Test\\真棒\\真棒.txt to Y:\\Folder Test\\真棒\\真棒.txt\par
Joe added a comment.Apr 23 2020, 8:14 AM

Unicode characters are escaped into the RTF logfile now.

Need to fix the \uc0 \uc1 thing:

4/23/2020 7:59:25 AM: Copied (Destination File Didn't Exist): J:\\home\\Desktop\\Folder Test\\\uc1\u949*\uc1\u955*\uc1\u955*\uc1\u951*\uc1\u957*\uc1\u953*\uc1\u954*\uc1\u942* \uc1\u947*\uc1\u955*\uc1\u974*\uc1\u963*\uc1\u963*\uc1\u945*\\Witaj \uc1\u347*wiecie.txt to Y:\\Folder Test\\\uc1\u949*\uc1\u955*\uc1\u955*\uc1\u951*\uc1\u957*\uc1\u953*\uc1\u954*\uc1\u942* \uc1\u947*\uc1\u955*\uc1\u974*\uc1\u963*\uc1\u963*\uc1\u945*\\Witaj \uc1\u347*wiecie.txt\par
Joe added a comment.Apr 23 2020, 9:10 AM

Fixed Save As Text on the View Log form to preserve the Unicode characters.

Joe added a comment.Apr 23 2020, 9:19 AM

I guess this is better RTF

4/23/2020 9:17:15 AM: Created: Y:\\Folder Test\\\u949?\u955?\u955?\u951?\u957?\u953?\u954?\u942? \u947?\u955?\u974?\u963?\u963?\u945?\\\par
4/23/2020 9:17:15 AM: Copied (Destination File Didn't Exist): J:\\home\\Desktop\\Folder Test\\\u949?\u955?\u955?\u951?\u957?\u953?\u954?\u942? \u947?\u955?\u974?\u963?\u963?\u945?\\Ch\'E0o th\u7871? gi\u7899?i.txt to Y:\\Folder Test\\\u949?\u955?\u955?\u951?\u957?\u953?\u954?\u942? \u947?\u955?\u974?\u963?\u963?\u945?\\Ch\'E0o th\u7871? gi\u7899?i.txt\par
4/23/2020 9:17:15 AM: Copied (Destination File Didn't Exist): J:\\home\\Desktop\\Folder Test\\\u949?\u955?\u955?\u951?\u957?\u953?\u954?\u942? \u947?\u955?\u974?\u963?\u963?\u945?\\Hall\'F3 heimur.txt to Y:\\Folder Test\\\u949?\u955?\u955?\u951?\u957?\u953?\u954?\u942? \u947?\u955?\u974?\u963?\u963?\u945?\\Hall\'F3 heimur.txt\par
Joe closed this task as Resolved.Apr 23 2020, 9:20 AM