Closed Bug 4348 Opened 25 years ago Closed 25 years ago

Form widgets do not display Japanese correctly

Categories

(Core :: Internationalization, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cpratt, Assigned: rods)

References

()

Details

Visit http://www.asahi-net.or.jp. 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>
<td valign=top align=left><nobr>
<FORM ACTION="http://cgi.asahi-net.or.jp/cgi-bin/select.cgi" METHOD="GET">
<SELECT NAME="url">
<OPTION VALUE="http://www.asahi-net.or.jp">$B"'A*Br%a%K%e!<(B
<OPTION value="http://www.asahi-net.or.jp/join.html">$B;qNA!&F~2qAk8}(B
<OPTION value="http://www.asahi-net.or.jp/news.html">$B2q0w$X$N$*CN$i$;(B
<OPTION value="http://www.asahi-net.or.jp/service/service_index.html">$B%5!<%S%90FFb(B
<OPTION value="http://www.asahi-net.or.jp/members/members_index.html">$B;vL3<jB3$-(B
<OPTION value="http://www.asahi-net.or.jp/diagram/diagram.html">$BL\E*JLMxMQ0FFb(B
<OPTION VALUE="">--------------
<OPTION value="http://www.asahi-net.or.jp/service/guide/inet_index.html">$B@\B3!&@_Dj(BQ&A

<OPTION value="http://www.asahi-net.or.jp/ap-d-no-j.html">$B9qFb(BAP$B0lMw(B
<OPTION value="http://www.asahi-net.or.jp/info/oversea/oversea-index.html">$B3$30(BAP$B0lMw(B
<OPTION value="http://bbb.asahi-net.or.jp">BBB$B%5!<%S%9(B
<OPTION VALUE="">--------------
<OPTION value="http://www.asahi-net.or.jp/member.html">$B2q0w%[!<%`%Z!<%8(B
<OPTION VALUE="">--------------
<OPTION value="http://www.asahi-net.or.jp/service/soho/soho.html">SOHO$B%5!<%S%9(B
<OPTION value="http://www.mmjp.or.jp/">MMJP$B%[!<%`%Z!<%8(B
</SELECT>
<INPUT TYPE="submit" value="Go!">
</FORM></nobr>
</td></tr>

</table>
<!--------form end------>
Target Milestone: M4
TFV 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
Status: NEW → ASSIGNED
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
Status: ASSIGNED → RESOLVED
Closed: 25 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 ***
Status: RESOLVED → REOPENED
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
Status: REOPENED → NEW
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:
  ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/

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.
Rod,
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
home.
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 http://www.asahi-net.or.jp/ 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.
Status: NEW → RESOLVED
Closed: 25 years ago25 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
Status: RESOLVED → VERIFIED
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.