Character coding problem

View: New views
3 Messages — Rating Filter:   Alert me  

Character coding problem

by Patryk Cisek-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm using multisync 0.90 with 2 OpenSync plugins: syncml-obex-client (for my
Nokia 6650) and kdepim-sync.
Config for syncml-obex-client is:
<?xml version="1.0"?>
<config>
  <bluetooth_address></bluetooth_address>
  <bluetooth_channel></bluetooth_channel>
  <interface>0</interface>
  <identifier>PC Suite</identifier>
  <version>1</version>
  <wbxml>1</wbxml>
  <username></username>
  <password></password>
  <type>5</type>
  <usestringtable>1</usestringtable>
  <onlyreplace>0</onlyreplace>
  <onlyLocaltime>0</onlyLocaltime>
  <recvLimit>10000</recvLimit>
  <maxObjSize>0</maxObjSize>
  <contact_db>Contacts</contact_db>
  <calendar_db>Calendar</calendar_db>
  <note_db>Notes</note_db>
</config>

And it works almost nice. :) The only problem is wrong handling of Polish
diacritics. When I synced, all contacts from the phone were copied to KDE
PIM. But in KDE PIM Polish diacritics are screwed up. I assume that it is
some kind of character encoding problem. How can I check what encoding is
used by my phone?

Can I somehow make proper character mappings for syncml plugin?

Is there some kind very verbose (diagnostic) mode for multisync? Or maybe I
can use some USB sniffer? What USB sniffer do OpenSync Devs use for
debugging?

Thanks
--
Patryk Cisek

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users

Re: Character coding problem

by Chris Frey-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, May 13, 2009 at 02:22:51PM +0200, Patryk Cisek wrote:
> Can I somehow make proper character mappings for syncml plugin?
>
> Is there some kind very verbose (diagnostic) mode for multisync? Or maybe I
> can use some USB sniffer? What USB sniffer do OpenSync Devs use for
> debugging?

I don't know the answer to your charset question, but if you are interested
in USB sniffing, this document may be useful as general information:

http://repo.or.cz/w/barry.git?a=blob;f=doc/USB-capture.txt;h=3e39632bd92b7d51106ddd3e9ab5caad37a87e27;hb=e3324779769a01894f86d9c16f55c82f9493dda8

See also usbmon:

http://www.mjmwired.net/kernel/Documentation/usb/usbmon.txt

Opensync also supports very verbose logging of its internal behaviour
if you set the following environment variables;

        export OSYNC_TRACE=/path/to/some/empty/directory
        export OSYNC_NOPRIVACY=1

These logs don't go to the USB level though.  But you may be able to see
the flow of data through the plugins and engine, and see where the charset
problem occurs.  I'd start here.

- Chris


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users

Re: Character coding problem

by Patryk Cisek-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 14 of May 2009 00:51:02 Chris Frey wrote:

> I don't know the answer to your charset question, but if you are interested
> in USB sniffing, this document may be useful as general information:
>
> http://repo.or.cz/w/barry.git?a=blob;f=doc/USB-capture.txt;h=3e39632bd92b7d
>51106ddd3e9ab5caad37a87e27;hb=e3324779769a01894f86d9c16f55c82f9493dda8
>
> See also usbmon:
>
> http://www.mjmwired.net/kernel/Documentation/usb/usbmon.txt
>
> Opensync also supports very verbose logging of its internal behaviour
> if you set the following environment variables;
>
> export OSYNC_TRACE=/path/to/some/empty/directory
> export OSYNC_NOPRIVACY=1
>
> These logs don't go to the USB level though.  But you may be able to see
> the flow of data through the plugins and engine, and see where the charset
> problem occurs.  I'd start here.
Thanks, I'll take a look at this.

--
Patryk Cisek

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Opensync-users mailing list
Opensync-users@...
https://lists.sourceforge.net/lists/listinfo/opensync-users