×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Default encoding of Java Strings is ISO-8859-1 instead of UTF-8 on S60 2nd Edition (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Forum Nokia KB (Talk | contribs)
m (1 revision(s))
Forum Nokia KB (Talk | contribs)
Line 1: Line 1:
 +
 +
{{KBKI}}
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__

Revision as of 13:13, 23 August 2007

Template:KBKI


Default encoding is ISO-8859-1 instead of UTF-8          KIJ000084

Platform: S60 2nd Edition Device: Nokia 6600

Description:

Default encoding is ISO-8859-1 instead of UTF-8.

Solution:

When using data, which should be UTF-8, do not assume the default charset is UTF-8 but define it explicitly. For example:

String s = new String(byteArray, "utf-8");

128 page views in the last 30 days.
×