nsIPlatformCharset on Android should return "UTF-8"

RESOLVED FIXED in mozilla7

Status

()

Core
Internationalization
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: m_kato, Assigned: m_kato)

Tracking

Trunk
mozilla7
All
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
The default character set on Android is UTF-8.  nsIPlatformCharset should return UTF-8 simply.
(Assignee)

Comment 1

6 years ago
Created attachment 532551 [details] [diff] [review]
fix
(Assignee)

Updated

6 years ago
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+
(Assignee)

Comment 3

6 years ago
(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.
(Assignee)

Comment 4

6 years ago
http://hg.mozilla.org/mozilla-central/rev/1b15458d3ca7
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
You need to log in before you can comment on or make changes to this bug.