> On Jan 18, 2018, at 12:53 AM, @lbutlr <[email protected]> wrote:
> 
> 
> On 17 Jan 2018, at 21:04, Carl Hoefs <[email protected]> wrote:
>> 
>> How can I set my Terminal window so it will translate UTF-16 characters 
>> properly? 
>> TERM currently set to 'xterm-256color', but I get the following kind of 
>> output:
> 
> UTF-8 is macOS native encoding. I don't think UTF-16 works well at all, and 
> is not a default available encoding for the Terminal application. However, if 
> you go to "Preferences -> Encodings" you can enable UTF-16. I wouldn't expect 
> this to work well, but I've never tried it.
> 
> If you've already done this... well, I can't say I am shocked.
> 
> If I set my terminal to UTF-16 everything becomes Chinese characters.
> 
> 䱡獴潧楮㨠坥搠䩡渠ㄷ′㌺㔳㨲㘠潮⁴瑹猰〳ഊ᭝㜻晩汥㨯⽓湯眮汯捡氯啳敲猯汢畴汲ܛ嬿㄰㌴栛嬿㄰㌴栛嬿㄰㌴栛嬰㬳㍭卮潷㨛嬰㬳㉭縯᭛ねഊ᭝㜻晩汥㨯⽓湯眮汯捡氯啳敲猯汢畴汲᭛〻㌳浓湯眺᭛〻㌲浾⼛嬰洠ഊ᭝㜻晩汥㨯⽓湯眮汯捡氯啳敲猯汢畴汲᭛〻㌳浓湯眺᭛〻㌲浾⼛嬰洠ഊ᭝㜻晩汥㨯⽓湯眮汯捡氯啳敲猯汢畴汲᭛〻㌳浓湯眺᭛〻㌲浾⼛嬰洠ഊ᭝㜻晩汥㨯⽓湯眮汯捡氯啳敲猯汢畴汲᭛〻㌳浓湯眺᭛〻㌲浾⼛嬰洠

Yeah, that’s gibberish. The odd thing is that this seems to be only happening 
with Subversion. So maybe it isn’t a Terminal thing, per se.

$ svn info
svn: E155007: '/Users/carl' 
{U+306F}{U+4F5C}{U+696D}{U+30B3}{U+30D2}{U+30FC}{U+3066}{U+306F}{U+3042}{U+308A}{U+307E}{U+305B}{U+3093}

The above is supposed to say:

svn: E155007: '/Users/carl’ is not a working copy

…but I don’t know what flavor of UTF to use. There aren’t even enough UTF-16 
characters in the above line to match.
I’m confused...

-Carl



_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to