Closed
Bug 32945
Opened 24 years ago
Closed 24 years ago
Need default character coding in Composer
Categories
(Core :: Internationalization: Localization, defect, P3)
Core
Internationalization: Localization
Tracking
()
M14
People
(Reporter: teruko, Assigned: fergus)
Details
If you did not select any character coding in Composer and type Japanese characters, the page is saved as UTF-8 when you save the file. If you select the characters coding menu and save the file, the file is saved as the character coding as you selected collectly (it will added the Meta charset). Steps of reproduce 1. Open Composer 2. Type some Japanese characters 3. Select menu File | Save.. and save as html file 4. Look at the file you saved in step #3 It does not contains Meta charset. It was saved as UTF-8. We need the some default character coding in Composer. Tested 2000032206 nblb M15 Win32, MAC, and Linux build. Related issue:Editor charset encoding menu needs UE implementation issue is filed in 7849.
Comment 1•24 years ago
|
||
nhotta- can you help to resolve this issue. brade- we may need your help.
Assignee: ftang → nhotta
Comment 2•24 years ago
|
||
How 4.x works? Does it have default compose charset?
Comment 3•24 years ago
|
||
No. It does not. It simply picks up the encoding of the parent page from which the composer page is opened. By the way, this is one of the items we have on our preference list and it is mentioned in my spec document, I believe.
Comment 4•24 years ago
|
||
Please see this spec document for Editor Charset related issues: http://rocknroll/users/momoi/publish/seamonkey/5_0intleditorui.html The section which addresses thi sproblem is called: Meaning of Character Encoding menu related actions: and Item 1 is what this bug is about. We need a default charset for Browser and that should be used for Composer. This bug can be made a duplicate of that bug.
Comment 5•24 years ago
|
||
Momoi san, what is the bug number you mentioned in your last comment?
Comment 6•24 years ago
|
||
I read the document mentioned but it does not mention about browser's default charset. Is there a separate document for browser default charset? Has that been implemented?
Comment 7•24 years ago
|
||
Currently, the Browser proposal includes an item called "Fallback Encoding". We need to formalize this either as a seprate item or make it visible when the menu customization is done. http://www.mozilla.org/projects/intl/uidocs/browsercharmenu.html#definitions Look under the "Fallback Encoding" subsection.
Comment 8•24 years ago
|
||
Do we have a pref value available for the fallback encoding? If so, editor jsut need to use it for a new document instead of UTF-8.
Comment 9•24 years ago
|
||
Yes, it is: intl.charset.default
Comment 10•24 years ago
|
||
Reassing to brade. Please cahnge to use the pref value "intl.charset.default" for a new document instead of "UTF-8".
Assignee: nhotta → brade
Updated•24 years ago
|
Target Milestone: --- → M15
Comment 12•24 years ago
|
||
I think this bug should go to fergus since "intl.charset.default" will at least be a workaround for this problem for Beta 1. pref("intl.charset.default", "Shift_JIS"); It's not that we are saving into UTF-8 without this pref setting. We are right now assuming Latin 1 as the default encoding and so when these JPN charcters are saved, we are using NCRs (i.e. Unicode values in decimal format.) By setting the above pref, we get the right results we want at this point. The full machinery of savings including HTTP Meta-equiv tag need to be implemnted accoring to Editor spec proposed. So for this limited problem, I propose to make this into an L10n bug. There is already an L10n bug for teh Browser default charset and that bug, Bug 32301, will also take care of this bug. Fergus, you can mark this bug a dupliacte of that one. We will file a new bug for Edtior charset related UI implementation based on the revised spec document.
Assignee: brade → fergus
Updated•24 years ago
|
Component: Internationalization → Localization
Target Milestone: M15 → M14
Assignee | ||
Comment 13•24 years ago
|
||
*** This bug has been marked as a duplicate of 32301 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•