This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 806 - Cannot display Japanese characters
Summary: Cannot display Japanese characters
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 1.0 (show other bugs)
Version: CSS Validator
Hardware: Other Linux
: P2 major
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
Depends on:
Reported: 2004-06-18 21:39 UTC by IKEDA Katsumi
Modified: 2005-12-13 14:02 UTC (History)
0 users

See Also:


Description IKEDA Katsumi 2004-06-18 21:39:58 UTC
On Japanese environment CSS Validator sends invalid text.
See the following, please.
$ LANG=C wget -S --header='Accept-Language: ja'
           => `referer'
Resolving done.
Connecting to[]:80... connected.
HTTP request sent, awaiting response... 
 1 HTTP/1.1 200 OK
 2 Cache-Control: no-cache
 3 Date: Sat, 19 Jun 2004 01:19:50 GMT
 4 Pragma: no-cache
 5 Content-Language: ja
 6 Content-Type: text/html;charset=euc-jp
 7 Expires: Sun, 20 Jun 2004 01:19:50 GMT
 8 Server: Jigsaw/2.2.2 W3C_CSS_Validator_JFouffa/2.0

    [  <=>                                ] 9,276         26.80K/s

10:19:52 (26.80 KB/s) - `referer' saved [9276]

$ kcc -c referer 
referer:	ASCII

There are two problems.
  1. A Return message is broken. It is invalid text code.
  2. A Return message does not specify Content-Type.

Comment 1 Olivier Thereaux 2004-06-28 21:15:08 UTC
Reproducible - OK.

wget output in the bug report is misleading, here's what HEAD has to say:

HEAD -H 'Accept-Language: ja' ""
200 OK
Cache-Control: no-cache
Connection: close
Date: Tue, 29 Jun 2004 01:11:12 GMT
Pragma: no-cache
Server: Jigsaw/2.2.4
Content-Language: ja
Content-Length: 21669
Content-Type: text/html
Client-Date: Tue, 29 Jun 2004 01:11:13 GMT
Client-Response-Num: 1

(not sure where wget gets its "Content-Type: text/html;charset=euc-jp")
Comment 2 IKEDA Katsumi 2004-06-28 22:01:50 UTC
If I write <a
it returns a valid Japanese result.
If I write <a href="">,
it returns an invalid Japanese result.
All Japanese characters are translated into "??".
If it returns English or something readable, I will be happy...
This problem happens on Mozilla, Galeon, Lynx and so on.
I tried using wget and thought that it depends on the server response but web
Data wget got was already broken.

  <a href=""> works well.
  It alwalys returns English.
Comment 3 Yves Lafon 2005-08-26 15:15:14 UTC
Fixed, see
Comment 4 IKEDA Katsumi 2005-12-13 14:02:50 UTC
Sorry for too late reply.

I test CSS Validator with some Japanese web sites. It works well.

Sorry that "Severity" level in my first post was off the point.