Are you sure your terminal handles UTF-8?  I am pretty sure logcat just
propagates the characters through as whatever 8-bit encoding you write to
it.

On Mon, May 11, 2009 at 9:57 AM, westmeadboy <[email protected]>wrote:

>
> I have a statement like:
>
> System.out.println("My simplified Chinese characters: 好像");
>
> However in the LogCat (Eclipse Plugin) the Chinese characters appear
> as some junk chars:
>
> 05-11 22:14:11.182: INFO/System.out(31582): My simplified Chinese
> characters: 好åƒ
>
> First, I thought it was a LogCat font issue but I tried a whole bunch
> of Chinese fonts and all gave the same result.
>
> The Chinese characters display fine in my Java source code (UTF-8
> encoded).
>
> Also the chars appear fine in the Emulator.
>
> Any thoughts?
>
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to