>
> "\u3403" is not a unicode string, but a string that has hex code of an
> unicode character in it. It can be unicode encoded or its encoding can
> be anything else really.
> Since "\" is a special character and has extra meaning in Java String
> class, it gets escaped by escape character, which is "\". Now you
> know, what is the extra meaning of "\"  ;-)
>
> This is not correct in Java. Strings are stored internally as UCS-16.
Therefore, "\u3403".length() == 1. However, "\\u3403".length() == 6. This
can be verified with a simple Java program.

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