I'm sure I'm doing something wrong!?

On Apr 21, 12:09 am, Moto <[email protected]> wrote:
> I get an array of bytes and I convert that to a String in the
> following way:
> blockString = new String(tagBlock);
>
> The results are good for english and some other languages but Russian,
> Spanish, Chinese, and many others aren't displayed properly...  The
> only way to diplay correctly is to find the correct encoding and
> decode the language like this:
> blockString = new String(tagBlock,"ISO8859_1");
>
> But how can I do this better?  How can I not have to worry about
> string encoding?  It's turning out to be a problem back in Japan and
> other countries with my app :(
>
> Thanks for any help!
> -Moto!
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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