From kde-devel Mon May 31 17:53:27 2004 From: Manuel Amador Date: Mon, 31 May 2004 17:53:27 +0000 To: kde-devel Subject: Re: [HELP] [Fwd: [kde-linux] Unicode] Message-Id: <1086026007.26460.24.camel () localhost ! localdomain> X-MARC-Message: https://marc.info/?l=kde-devel&m=108602623919415 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0757350960==" --===============0757350960== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-rAD+0Z75ETeLI7N/XMBQ" --=-rAD+0Z75ETeLI7N/XMBQ Content-Type: multipart/mixed; boundary="=-jEQZv4fl8facbiVlWUtF" --=-jEQZv4fl8facbiVlWUtF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Attached is a script that may help you batch convert your files from ISO-8859-1 to UTF-8. Make sure you have the 'iconv' command on your system. to use it on your $HOME, do: mviconv -r --from=3Diso-8859-1 --to=3Dutf-8 * which should recursively transcode filenames from ISO to Unicode at once. (and send me your credit card number, mbwhauahahahahaa) El mi=C3=A9, 26-05-2004 a las 18:47, Thiago Macieira escribi=C3=B3: > James Richard Tyrer wrote: > >I can't answer this. > > > >IIUC, there isn't any place in KDE to set the default encoding -- at > > least I can't find it in the Control Center. > > > >Perhaps this feature is needed. > > > >So, is the default encoding set in a UNIX environment variable? If > > this is the case, could someone please point me to some good > > documentation? > > >=20 > and: > >Having installed SuSE 9.1 with KDE 3.03 a few days ago, I > >found out that now all iso-8859-1 characters are represented > >in 16 bit Unicode. Is there any possibility to return to the > >old 8 bit representation? > > > >Thanks in advance for your help, > >Wolfgang >=20 > KDE uses the system global encoding through the LANG and LC_* variables.=20 > I don't know how it behaves in case a conflicting set is used. >=20 > In any event, KDE and Qt applications in general ALWAYS represent=20 > characters internally with their 16-bit representation. So, what you=20 > are asking (literally) is impossible unless you go back to KDE 1.x. >=20 > Now, what you want is not what you asked. You probably have some files=20 > that were encoded in ISO-8859-1 and/or their filenames and your new=20 > system is using UTF-8 -- or vice-versa. Changing LANG should help that,=20 > but my recommendation is that you stay UTF-8 and convert your files (or=20 > go back to it, if that's the case). >=20 > What's more, please upgrade to KDE 3.2.2. --=20 Manuel Amador Jefe de I+D +593 (9) 847-7372 Amauta http://www.amautacorp.com/ GNU Privacy Guard key ID: 0xC1033CAD at keyserver.net --=-jEQZv4fl8facbiVlWUtF Content-Disposition: attachment; filename=mviconv Content-Type: text/x-sh; name=mviconv; charset=UTF-8 Content-Transfer-Encoding: base64 IyEvYmluL2Jhc2gNCiNtdmljb252IDEuMQ0KI2NvcHlyaWdodCAyMDAyIE1hbnVlbCBBbWFkb3Ig KFJ1ZGQtTykuICBUaGlzIHNvZnR3YXJlIGlzIHVuZGVyIHRoZSBHUEwNCiNodHRwOi8vd3d3LnVz bS5lZHUuZWMvfmFtYWRvcm0vDQoNCmlmIFsgIiQzIiA9PSAiIiBdIDsgdGhlbg0KIGVjaG8gIm12 aWNvbnYgMS4wIGJ5IFJ1ZGQtTy4iDQogZWNobyAic29ydHMgYSBmb2xkZXIgZnVsbCBvZiBNUDNz IGludG8gYXJ0aXN0IGFuZCBhbGJ1bSBmb2xkZXJzIg0KIGVjaG8gIlRoaXMgc29mdHdhcmUgaXMg dW5kZXIgdGhlIEdQTC4gIEFCU09MVVRFTFkgTk8gV0FSUkFOVFkuIg0KIGVjaG8NCiBlY2hvICJ1 c2FnZTogJDAgWy1yXSAtLWZyb209ZW5jb2RpbmcxIC0tdG89ZW5jb2RpbmcyIDxmaWxlcz4iDQog ZXhpdCAxDQpmaQ0KDQppZiBbICIkMSIgPT0gIi1yIiAtbyAiJDEiID09ICItUiIgXSA7IHRoZW4N CiByZWN1cnNpdmU9JDENCiBzaGlmdA0KZmkNCg0KZnJvbT0iJDEiDQpzaGlmdA0KdG89IiQxIg0K c2hpZnQNCg0Kd2hpbGUgWyAiJDEiICE9ICIiIF07IGRvDQoNCiBmaWxlbmFtZT0iJDEiDQogbmV3 ZmlsZW5hbWU9YGVjaG8gJGZpbGVuYW1lIHwgaWNvbnYgJGZyb20gJHRvIGANCg0KIGlmIFsgIiRm aWxlbmFtZSIgIT0gIiRuZXdmaWxlbmFtZSIgXTsgdGhlbg0KICAgZWNobyBcKCRTSExWTFwpIFBy b2Nlc3NpbmcgJFBXRC8kbmV3ZmlsZW5hbWUNCiAgIG12ICIkZmlsZW5hbWUiICIkbmV3ZmlsZW5h bWUiID4gL2Rldi9udWxsDQogICBbICQ/IC1uZSAwIF0gJiYgZXhpdCAxDQogZmkNCg0KICNkZWJ1 Z2dpbmcgcHVycG9zZXMNCiAjbmV3ZmlsZW5hbWU9IiRmaWxlbmFtZSINCiBpZiBbIC1kICIkbmV3 ZmlsZW5hbWUiIC1hICIkcmVjdXJzaXZlIiAhPSAiIiBdIDsgdGhlbg0KICAgZGlyZWN0b3Jpb3Zp ZWpvPSIkUFdEIg0KICAgY2QgIiRuZXdmaWxlbmFtZSINCiAgIGlmIFsgIiRQV0QiICE9ICAiJGRp cmVjdG9yaW92aWVqbyIgXTsgdGhlbg0KICAgICAgJDAgJHJlY3Vyc2l2ZSAkZnJvbSAkdG8gKg0K ICAgZmkNCiAgIGNkICIkZGlyZWN0b3Jpb3ZpZWpvIg0KIGZpDQoNCg0KIHNoaWZ0DQoNCmRvbmUg DQo= --=-jEQZv4fl8facbiVlWUtF-- --=-rAD+0Z75ETeLI7N/XMBQ Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBAu3EXWyznNMEDPK0RAhHtAJ9vqXR1PhAN7NuVAfWtrSrZB12ABACbB3LY x+G9PylUF4O/ht+dLP60P5U= =rWtY -----END PGP SIGNATURE----- --=-rAD+0Z75ETeLI7N/XMBQ-- --===============0757350960== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0757350960==--