Closed Bug 654063 Opened 14 years ago Closed 14 years ago

nsIPlatformCharset on Android should return "UTF-8"

Categories

(Core :: Internationalization, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla7

People

(Reporter: m_kato, Assigned: m_kato)

References

()

Details

Attachments

(1 file)

The default character set on Android is UTF-8. nsIPlatformCharset should return UTF-8 simply.
Attached patch fixSplinter Review
Attachment #532551 - Flags: review?(smontagu)
Comment on attachment 532551 [details] [diff] [review] fix r=me, but I wonder if maybe it's time to just do this for nsUnixCharset.cpp as well.
Attachment #532551 - Flags: review?(smontagu) → review+
(In reply to comment #2) > Comment on attachment 532551 [details] [diff] [review] [review] > fix > > r=me, but I wonder if maybe it's time to just do this for nsUnixCharset.cpp > as well. Now, most Linux distribution and the latest version of UNIX (AIX and Solaris) are UTF8 as default platform charset, but it can change it to something such as Shift_JIS by user. So we should not do it now. But, if we only support UTF-8 as system charset of POSIX platform by Firefox.next (Thunderbird and SeaMonkey), it can use UTF-8 only version of nsIPlatformCharset.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: