Accented characters in friendly name properly handled in BlueZ?
Hello,
I'm using the D-Bus API to get the friendly name of a terminal wich name contains accented chars. In the String I get, each accented character (eg not a 1-byte ASCII char) gets replaced by 2 chars, each with value 0x2e.
Is the problem coming from BlueZ or from the D-Bus bindings layer? Where should I look to get a clue?
Best Regards,
Pierre-Yves
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Pierre-Yves,
Quoted 6 lines · Pierre-Yves Paulus
I'm using the D-Bus API to get the friendly name of a terminal wich name contains accented chars. In the String I get, each accented character (eg not a 1-byte ASCII char) gets replaced by 2 chars, each with value
0x2e.Is the problem coming from BlueZ or from the D-Bus bindings layer? Where should I look to get a clue?
It's a bug in the validation code responsible for storing the friendly name. It has been fixed in the 3.8 release.
JOhan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Johan,
Quoted 10 lines · Pierre-Yves Paulus
Quoted 6 lines
I'm using the D-Bus API to get the friendly name of a terminal wich name contains accented chars. In the String I get, each accented character (eg not a 1-byte ASCII char) gets replaced by 2 chars, each with value
0x2e.Is the problem coming from BlueZ or from the D-Bus bindings layer? Where should I look to get a clue?
It's a bug in the validation code responsible for storing the friendly name. It has been fixed in the 3.8 release.
Thanks for the fast answer. I will upgrade soon then (am currently using 3.7).
Best Regards,
Pierre-Yves
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel