Closed Bug 4348 Opened 21 years ago Closed 20 years ago

Form widgets do not display Japanese correctly


(Core :: Internationalization, defect, P3)

Windows NT





(Reporter: cpratt, Assigned: rods)




Visit Look at the drop-down list; instead of Japanese characters, you get mojibake. This happpens even when everything
else on the page is displayed in Japanese (using the MS Gothic font under NT 4 SP 4 and after editing the prefs.js file to use this font to display
the page).

The HTML in question appears to be:

<!--------form start------>
<table><tr><td valign=top align=left>
<td valign=top align=left><nobr>
<OPTION VALUE="">$B"'A*Br%a%K%e!<(B
<OPTION value="">$B;qNA!&F~2qAk8}(B
<OPTION value="">$B2q0w$X$N$*CN$i$;(B
<OPTION value="">$B%5!<%S%90FFb(B
<OPTION value="">$B;vL3<jB3$-(B
<OPTION value="">$BL\E*JLMxMQ0FFb(B
<OPTION VALUE="">--------------
<OPTION value="">$B@\B3!&@_Dj(BQ&A

<OPTION value="">$B9qFb(BAP$B0lMw(B
<OPTION value="">$B3$30(BAP$B0lMw(B
<OPTION value="">BBB$B%5!<%S%9(B
<OPTION VALUE="">--------------
<OPTION value="">$B2q0w%[!<%`%Z!<%8(B
<OPTION VALUE="">--------------
<OPTION value="">SOHO$B%5!<%S%9(B
<OPTION value="">MMJP$B%[!<%`%Z!<%8(B
<INPUT TYPE="submit" value="Go!">

<!--------form end------>
Target Milestone: M4
Assignee: ftang → trudelle
Summary: Mojibake displayed in forms → Form widgets does not display Japanese correctly
Change the summary from "Mojibake displayed in forms" to "Form widgets does not
display Japanese correctly"

Reassign this to Peter Trudelle. In theory, if peter's engineers call the right
GFX text drawing/measuring routines in the GFX based widget, this should be
solved once peter's engineer switch the HTML form widget to the GFX based
widget from the native OS based widget.
Assignee: trudelle → karnaze
This and most other forms widgets are karnaze's, reassigning.
Assignee: karnaze → kmcclusk
Target Milestone: M4 → M5
Reassigning to Kevin, since it will involve gfx based option/select.
Target Milestone: M5 → M7
Target Milestone: M7 → M10
Blocks: 7228
Same as bug #4681?
Summary: Form widgets does not display Japanese correctly → Form widgets do not display Japanese correctly
Closed: 21 years ago
Resolution: --- → DUPLICATE
Should be fixed by Ender-based text widget.  See bug #6262.

*** This bug has been marked as a duplicate of 6262 ***
Depends on: 6262
Resolution: DUPLICATE → ---
Target Milestone: M10 → M8
Bug 6262 sez "The following functionality needs to be implemented for editor
Enable Ender as plain text field
Enable Ender as plain text area
Enable Ender as rich text area"

Um, if this bug will be fixed by doing that, great, but that doesn't make this
bug a duplicate of 6262, does it? Reopening bug, changing dependencies to refer
to bug 6262.
Target Milestone: M8 → M9
Moving to M9
Target Milestone: M9 → M10
Moving to M10
Assignee: kmcclusk → rods
Rod, here is a something to check against the gfx-select
Could some veryify this on a Japanese platform? Verify using viewer with GFX
widgets turned on.
Someone (Teruko?) will verify this, but you don't need a Japanese system
for displaying Japanese.  Japanese display should work fine on a US system
if you install Japanese fonts.  One such font is the Bitstream Cyberbit
font 2.0 from:

There are 3 versions:
  (1) Cyberbase.ZIP: "complete" Unicode glyph set
  (2) CyberCJK.ZIP: the Chinese, Japanese and Korean glyph subset
  (3) Cyberbit.ZIP: the non-CJK glyph subset

Installing either (1) or (2) will allow you to render Japanese.
Did you want viewer or apprunner to be verified?
For now it just needs to be verified using the viewer with GFX turned on. I will
install the fonts on my work machine on monday, I'm low on disk space here at
I tested this in 8-06-09 Win32, Mac, and Linux build.  When I changed the pref to turn on GFX in Win and Linux,
Apprunner displays form widget correctly.  Mac is not testable.
What is up with the mac? Can I mark it fixed yet?
I need to correct my previous comment.  Apprunner displays non text form widget correctly.
In Mac, when I turn on the GFX in pref, the page is displayed as garbage.
The GFX text widgets are being tracked in bug 6262.

On the Mac, bugzilla's display was mangled with the GFX widgets enabled.
Rectangles were being drawn strangely with a Picasso look to it.
This needs to be assigned to a Mac person. Is safe to describe this bug as "Mac
does not display Japanese characters correctly."
The bugzilla page had no Japanese.
Closed: 21 years ago20 years ago
Resolution: --- → FIXED
This bug is fixed. A Mac specific bug needs to be opened. Or this can be
re-opened and reassigned.
To the best of everyone's knowledge, has a bug been opened against the Mac?
My guess is that it hasn't been opened yet against the mac
Mac bugs are filed in 12824. OK, the original bug is fixed.  Tested 8-30 Win32 build.
You need to log in before you can comment on or make changes to this bug.