From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 16 08:26:36 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B225F16A4CE for ; Thu, 16 Dec 2004 08:26:36 +0000 (GMT) Received: from e0-a11.b1.lan.prg.vol.cz (e0-a11.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id E669943D2D for ; Thu, 16 Dec 2004 08:26:35 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1])iBG8QX3H075933; Thu, 16 Dec 2004 09:26:34 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.13.1/8.13.1/Submit) id iBG8QX1F075927; Thu, 16 Dec 2004 09:26:33 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Maksim Yevmenkin In-Reply-To: <41C0C992.2050605@savvis.net> References: <41B8D6D5.6090801@savvis.net> <41B8E56C.6050409@savvis.net><41B9E211.8050005@savvis.net> <41BA2816.9000908@savvis.net><41BA5490.3000708@savvis.net> <41C0C992.2050605@savvis.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-74GksvHHm5uRI4Hfaujd" Date: Thu, 16 Dec 2004 09:26:33 +0100 Message-Id: <1103185593.69011.3.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 08:26:36 -0000 --=-74GksvHHm5uRI4Hfaujd Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin p=ED=B9e v st 15. 12. 2004 v 15:32 -0800: > >>>> so i guess obexapp(1) should use encoding header from xml and=20 > >>>> translate values from xml into locale one is using > >>>=20 > >>> Would be very nice, yes. > >>=20 > >> how about setting you locate to utf-8, i.e. > >>=20 > >> % LANG=3D.UTF-8 xterm (for Russian language > >> LANG=3Dru_RU.UTF-8) > >>=20 > >> and then in new xterm window try to run obexapp and do ls. does cd > >> command work? do you see any difference in ls output? > >=20 > > ls output is now readable, but I can't cd to directories. >=20 > ok, thanks. just as i expected :( this whole thing is a train wreck :(=20 > OBEX_CharToUnicode and OBEX_UnicodeToChar just plain broken in openobex=20 > library :( the quick hack is to use something like iconv(3) to convert=20 > between current locate and unicode/utf-8. i do not like it very much,=20 That would be not a big paint, libiconv is present on almost every system, and certainly on every desktop system. It's dependency on common packages like gettext, gmake, ... > because its another port to install, but i'm not sure there is a=20 > standard freebsd-way to do the same thing. also, it seems, libbsdxml(3)=20 > always feeds utf-8 characters to all callbacks. it worked before only=20 > because no one tried obexapp(1) on "localized" phone :( >=20 > btw, what locale are you using? LANG=3Dcs_CZ.ISO8859-2 --=20 Pav Lucistnik Autumn changed into Winter ... Winter changed into Spring ... Spring changed back into Autumn and Autumn gave Winter and Spring a miss and went straight on into Summer --=-74GksvHHm5uRI4Hfaujd Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBwUa5ntdYP8FOsoIRAmLlAJ9i4ewa/JJlksdObTcO8GsHMLQ2LwCgvo1d Jyz7P2QdDNqQ+HA1n5ERfoc= =1Ji9 -----END PGP SIGNATURE----- --=-74GksvHHm5uRI4Hfaujd--