Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2006 21:27:16 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        gabor.kovesdan@t-hosting.hu
Cc:        doc@FreeBSD.org, simon@FreeBSD.org, www@FreeBSD.org
Subject:   Re: How to handle localized characters ans special symbols?
Message-ID:  <20060206.212716.59656684.hrs@allbsd.org>
In-Reply-To: <43E7298B.20206@t-hosting.hu>
References:  <43E501A2.9080109@t-hosting.hu> <20060205153021.GC857@zaphod.nitro.dk> <43E7298B.20206@t-hosting.hu>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Kövesdán Gábor <gabor.kovesdan@t-hosting.hu> wrote
  in <43E7298B.20206@t-hosting.hu>:

ga> I've found out, it's not just about the charset used by the browser. The 
ga> SGML parser substitutes &#337; with Q. If &#337; remained in the html 
ga> files, the browser would display them correctly. I tried to put this to 

 Isn't o" &#245; in ISO-8859-2?  I think &#337; is the one in UTF.

ga> I get a new problem recently, too. According to 
ga> http://www.w3.org/2003/entities/iso8879doc/isolat1.html the entities 
ga> &aacute; &eacute; etc... are accepted standards in the XML language, but 
ga> if I put these character into an .xsl file, e.g. index.xsl the web build 
ga> will fail.

 Yes, it is a problem.  I am planning to fix this.

ga> Anyway, I've realized if I simply write a character ő into the sgml 
ga> sources it remaines good, but I don't know how standard and portable 
ga> this solution is. I would like to make my work as standard and portable 
ga> as it can be.

 If you try to write a document which mainly uses ascii characters,
 please use entity reference.  If you cannot use the entity reference
 for localized document which uses non-ascii characters massively (Asian
 languages, Russian, and so on, for example), please explicitly specify
 the encoding and use native characters.

--
| Hiroki SATO

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBD50CkTyzT2CeTzy0RAqThAJ44jkjAY3T2fEGmqAIywUoBCzpIeQCggSI2
xjCrUqVYEnTxgs9VNKFxhbc=
=tb2R
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060206.212716.59656684.hrs>