ZTree.com  | ZEN  | About...  

 Index   Back

Possible explanation   [Zeta]

By: Kim Henkel     Ft. Lauderdale, FL  
Date: Oct 31,2019 at 21:08
In Response to: [Bug?] Archive processing in Unicode -> incompatible output (Hartmut Schneider)

I did a bit more digging into your example, and from what I can tell, it's actually this line alone that causes the odd output.


The redirected output prior to this is correctly UTF16-LE encoded, but, the output of CHCP is ANSI, and just happens to be an odd number of bytes, meaning the following UTF-16 encoding is now one-byte misaligned, effectively turning it into UTF16-BE.

Not sure if CHCP is a true requirement for your needs here, or if there's going to be more exceptions - but of course, the ARCHIVER.BB2 command lines were really intended only to execute a single command and pipe that to a file.

I can at least revert the /U change if your 'command' is actually a script.



Messages in this Thread

94,801 Postings in 11,952 Threads, 348 registered users, 9 users online (1 registered, 8 guests)
Index | Admin contact |   Forum Time: Apr 4, 2020 - 9:05 am EDT  |  Hits:30,536,123  (1,979 Today )
RSS Feed