Closed Bug 5894 Opened 25 years ago Closed 25 years ago

We need to convert Hankaku to Zenkaku

Categories

(MailNews Core :: Internationalization, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: momoi, Assigned: nhottanscp)

References

Details

Attachments

(1 file)

** Observed with 5/3/99 Win32 M6 candidate build ** I sent the following body text including the Hankaku sequence for "mail". これも二本からのメールなり。 Apparently we don't have Hankaku-to-Zenkaku hooked up yet, because what I received was 8-bit Hankaku characters mixed in with the 7-bit JIS. ---------------- Source of the above with relevant headers ********* Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by netscape.com id WAA08208 =1B$@$3$l$bFsK\$+$i$N=1B(J=D2=B0=D9=1B$@$J$j!#=1B(B ---------------- Source of the above with relevant headers ********* Maybe there is some prefs50.js option? In any case, the default should be no Hankaku.
Status: NEW → ASSIGNED
Target Milestone: M7
M7. Filed a separte bug (#5909) for the mapping function. Messenger will use it when it's available. We can use mailnews.send_hankaku_kana (same as 4.5).
I tried the pref option (set to false) but it did not work. Are you saying that the pref option will work when the interface utility is checked in? (Bug 5904)
You're right, it won't work until M7, sorry for the confusion.
5909 is fixed, the mapping interface is available. But there is an another issue because of the change 6672. The plan for M7 is that messenger to receive a stream instead of nsString from Ender. Since messenger now gets converted stream (not unicode unless explicitly request), it is not easy to use the new mapping interface which is unicode base. It may be solved by let Ender to do this mapping. This works for mail body but widgets (e.g. subject) may be difficult. This mapping is only needed for mail and it should not be applied for HTML forms for example. Adding kostello@netscape.com,ducarroz@netscape.com,ftang@netscape.com to cc.
Target Milestone: M7 → M8
I should wait until the new interface of the Ender to compelete (6672). For headers, need to wait for the Ender widget. Moving to M8.
Blocks: 7228
Blocks: 6262, 6672
Adding dependency 6262,6672.
Adding 8865 to dependency. Also moving to M9, it is not likely that I have chance to make this for M8.
Depends on: 8865
Target Milestone: M8 → M9
Target Milestone: M9 → M10
Moving to M10.
Target Milestone: M10 → M15
Post beta feature, M15.
No longer depends on: 8865
Removing dependency to 8865, hankaku->zenkaku conversion is not included in 8865.
Blocks: 19081
Attached patch a path file (deleted) — Splinter Review
Target Milestone: M15 → M14
Checked in. Now it maps hankaku to zenkaku for mail send if the charset is "ISO-2022-JP" and the pref "mailnews.send_hankaku_kana" is false or not specified.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
** Checked with 2/18/2000 Win32 build ** With both Plain text and HTML mail, Hankaku characters are now converted into Zenkaku characters under ISO-2022-JP setting for send. Marking it fixed verified.
Status: RESOLVED → VERIFIED
CC'ing marina and ji.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: