From owner-freebsd-www@FreeBSD.ORG Sun Feb 5 15:30:24 2006 Return-Path: X-Original-To: www@FreeBSD.org Delivered-To: freebsd-www@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D198216A420; Sun, 5 Feb 2006 15:30:24 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from eddie.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543B043D48; Sun, 5 Feb 2006 15:30:24 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (localhost [127.0.0.1]) by eddie.nitro.dk (Postfix) with ESMTP id 37842119C4C; Sun, 5 Feb 2006 16:30:23 +0100 (CET) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id AA58911928; Sun, 5 Feb 2006 16:30:22 +0100 (CET) Date: Sun, 5 Feb 2006 16:30:21 +0100 From: "Simon L. Nielsen" To: =?iso-8859-1?Q?K=F6vesd=E1n_G=E1bor?= Message-ID: <20060205153021.GC857@zaphod.nitro.dk> References: <43E501A2.9080109@t-hosting.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JWEK1jqKZ6MHAcjA" Content-Disposition: inline In-Reply-To: <43E501A2.9080109@t-hosting.hu> User-Agent: Mutt/1.5.11 Cc: doc@FreeBSD.org, www@FreeBSD.org Subject: Re: How to handle localized characters ans special symbols? X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2006 15:30:25 -0000 --JWEK1jqKZ6MHAcjA Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.02.04 20:33:54 +0100, K=F6vesd=E1n G=E1bor wrote: > I'm translating the FreeBSD webpage to Hungarian. I haven't done too=20 > much so far, because I don't have too much spare time, but I'll finish=20 > this translation. Today, I made a test build. You can see this here: > http://tux.t-hosting.hu/data > The most part of it is still in English but there are some translated=20 > pages. The build succeeded quite good, I've found my mistakes easily and= =20 > managed to build the site, but I have troubles with one of the localized= =20 > characters. This is The o letter with two commas on it. Its standard=20 > html code is ő, but the sgml parser substitutes it with a Q char. I= =20 > don't see why does it happen and don't know how to fix it. There are two= =20 > more problematic characters, and they are ® and ™. They are=20 > also substituted in a wrong way. See: > http://tux.t-hosting.hu/data/about.html > You can notice the Z character with a ?? sign after the word Pentium and= =20 > a " after Athlon. > How could I correctly display these characters? Please tell me what to=20 > do so that we have a nice Hungarian webpage. :) >=20 > (I use Firefox and it selects the ISO-8859-2 Central European encoding=20 > automatically.) I think the problem is that your web server forces a character set which prevents the character set in the HTML from taking effect: [simon@zaphod:~] fetch -o /dev/null -vv http://tux.t-hosting.hu/data/about.= html | & grep Content-Type: <<< Content-Type: text/html; charset=3DISO-8859-2 I'm not exactly sure how some of the other translations are handling using non ISO-8859-1, but since e.g. ja and ru translations use something which definitely isn't Latin characters I'm sure it can be done. See how those translations changes the character set as needed. --=20 Simon L. Nielsen --JWEK1jqKZ6MHAcjA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD5hoNh9pcDSc1mlERAqfpAKCP0tTOSuuvIYDcZa/g2XI0uuAsRgCePoll SwZQWJfCnDgMD5b5mQV9Lqs= =25zQ -----END PGP SIGNATURE----- --JWEK1jqKZ6MHAcjA--