The default bug view has changed. See this FAQ.

We need to convert Hankaku to Zenkaku

VERIFIED FIXED in M14

Status

MailNews Core
Internationalization
P3
normal
VERIFIED FIXED
18 years ago
9 years ago

People

(Reporter: Katsuhiko Momoi, Assigned: nhottanscp)

Tracking

Trunk
x86
Windows NT
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

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

Updated

18 years ago
Status: NEW → ASSIGNED
Target Milestone: M7
(Assignee)

Comment 1

18 years ago
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).
(Reporter)

Comment 2

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

Comment 3

18 years ago
You're right, it won't work until M7, sorry for the confusion.
(Assignee)

Comment 4

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

Updated

18 years ago
Target Milestone: M7 → M8
(Assignee)

Comment 5

18 years ago
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.

Updated

18 years ago
Blocks: 7228
(Assignee)

Updated

18 years ago
Blocks: 6262, 6672
(Assignee)

Comment 6

18 years ago
Adding dependency 6262,6672.
(Assignee)

Comment 7

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

Updated

18 years ago
Target Milestone: M9 → M10
(Assignee)

Comment 8

18 years ago
Moving to M10.
(Assignee)

Updated

18 years ago
Target Milestone: M10 → M15
(Assignee)

Comment 9

18 years ago
Post beta feature, M15.
(Assignee)

Updated

18 years ago
No longer depends on: 8865
(Assignee)

Comment 10

18 years ago
Removing dependency to 8865, hankaku->zenkaku conversion is not included in
8865.
(Assignee)

Updated

18 years ago
Blocks: 19081
(Assignee)

Comment 11

17 years ago
Created attachment 4806 [details] [diff] [review]
a path file
(Assignee)

Updated

17 years ago
Target Milestone: M15 → M14
(Assignee)

Comment 12

17 years ago
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
Last Resolved: 17 years ago
Resolution: --- → FIXED
(Reporter)

Comment 13

17 years ago
** 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
(Reporter)

Comment 14

17 years ago
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.