Date: Thu, 16 Dec 2004 09:26:33 +0100 From: Pav Lucistnik <pav@FreeBSD.org> To: Maksim Yevmenkin <maksim.yevmenkin@savvis.net> Cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 Message-ID: <1103185593.69011.3.camel@pav.hide.vol.cz> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Maksim Yevmenkin píše v st 15. 12. 2004 v 15:32 -0800:
> >>>> so i guess obexapp(1) should use encoding header from xml and
> >>>> translate values from xml into locale one is using
> >>>
> >>> Would be very nice, yes.
> >>
> >> how about setting you locate to utf-8, i.e.
> >>
> >> % LANG=<whatever>.UTF-8 xterm (for Russian language
> >> LANG=ru_RU.UTF-8)
> >>
> >> 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?
> >
> > ls output is now readable, but I can't cd to directories.
>
> ok, thanks. just as i expected :( this whole thing is a train wreck :(
> OBEX_CharToUnicode and OBEX_UnicodeToChar just plain broken in openobex
> library :( the quick hack is to use something like iconv(3) to convert
> between current locate and unicode/utf-8. i do not like it very much,
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
> standard freebsd-way to do the same thing. also, it seems, libbsdxml(3)
> always feeds utf-8 characters to all callbacks. it worked before only
> because no one tried obexapp(1) on "localized" phone :(
>
> btw, what locale are you using?
LANG=cs_CZ.ISO8859-2
--
Pav Lucistnik <pav@oook.cz>
<pav@FreeBSD.org>
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
iD8DBQBBwUa5ntdYP8FOsoIRAmLlAJ9i4ewa/JJlksdObTcO8GsHMLQ2LwCgvo1d
Jyz7P2QdDNqQ+HA1n5ERfoc=
=1Ji9
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1103185593.69011.3.camel>
