From: Aredridel Date: 2007-03-11T02:13:01+09:00 Subject: Re: PDF::Writer with UTF-8 --=-Kng2X59Ftff7+0jOaZeV Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2007-03-10 at 22:26 +0900, Austin Ziegler wrote: > On 3/9/07, Daniel Finnie wrote: > > I have searched and searched and came up with nothing about the > > /current/ state of UTF-8 with PDF-Writer. Has any one had any luck wit= h it? >=20 > Then you haven't searched enough. I'm sorry to be so blunt, but I have > been consistent and clear: PDF::Writer does not and will NEVER support > UTF-8 natively. Why? Because the PDF specification does not support > UTF-8. >=20 > So, forget about using UTF-8. Period. I will never provide support for > it. (In Ruby 1.9, this may be alleviated by the use of m17n strings, > but I'm not going out of my way to support UTF-8; when I add unicode > support, it will be UTF-16 only). I'd suggest supporting UTF-8 and handling conversion internally, rather than making users scatter Iconv calls everywhere, since UTF-8 is rather the norm on the internet. Better to do it internally, especially since the conversion between UTF-8 and UTF-16 is perfect in both directions. Aria --=-Kng2X59Ftff7+0jOaZeV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBF8ucZtP09exA3hooRAiT2AKDP+v3FPJXBamMtn7DBpFszekMSjQCfXPDS yW/qJjd6aJmPY6aIs53bxyc= =7wz6 -----END PGP SIGNATURE----- --=-Kng2X59Ftff7+0jOaZeV--