Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

尝试Patch:自动检测当前语言编码 #17

Open
GoogleCodeExporter opened this issue Jun 13, 2015 · 3 comments
Open

尝试Patch:自动检测当前语言编码 #17

GoogleCodeExporter opened this issue Jun 13, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

在大陆的水木社区上看到有人提简体中文访问的问题,于是��
�尝试修改了一下,大概就相当于TODO中的这一
段:
Provide encoding settings. defaults to big5 (or can we automatically detect 
current locale?).
采用的方式来自
https://developer.mozilla.org/en/Code_snippets/Preferences#nsIPrefLocalizedSt
ring

请看一下是否可行?

另外提供了简体中文的locale文件


Original issue reported on code.google.com by [email protected] on 24 Dec 2009 at 1:37

Attachments:

@GoogleCodeExporter
Copy link
Author

Locale的部份看起來ok
至於charset偵測的部份我覺得這個應該做成site-specific

Original comment by [email protected] on 28 Dec 2009 at 5:14

@GoogleCodeExporter
Copy link
Author

这样啊……我本以为对于简体中文用户默认为用gb2312;对繁��
�用户默认big5。然后大家上非默认编码的bbs的话就在用
户名后边加“.”好了……

Original comment by [email protected] on 28 Dec 2009 at 12:39

@GoogleCodeExporter
Copy link
Author

不過這樣說也對,對特定Locale設定預設/默認值這件事情應該�
��ok的

Original comment by [email protected] on 29 Dec 2009 at 10:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant