Chris Frey schrieb:
> On Sun, Dec 09, 2007 at 05:58:07PM +0100, Christian W?schenfelder wrote:
>> I've some problems to sync my address-book from the blackerry (8800) to kde:
>> The synchronisation works, but I've contacts with german umlauts wich
>> doesn't work.
>>
>> The synchronisation of these contacts works till the point of the
>> umlaut, all data after it is lost.
>>
>> The problem seem to be, that the data from the blackberry is iso
>> encoded, but my debian (etch) wants utf-8.
>>
>> If I use btool on the command line with utf-8 disabled all seems to work
>> fine.
>
> Thanks for reporting this! Unfortunately, the Blackberries that I have
> only support US English, and the extra symbols it provides don't show up
> as anything more special than ASCII in the btool output.
>
> Here's what you can do to help me out:
>
> Run btool and capture the output with hexdump. For example, here is my
> test on Debian:
>
> [EMAIL PROTECTED] btool -d "Address Book" |hexdump -C
> 00000000 42 6c 61 63 6b 62 65 72 72 79 20 64 65 76 69 63 |Blackberry devic|
> 00000010 65 73 20 66 6f 75 6e 64 3a 0a 44 65 76 69 63 65 |es found:.Device|
> 00000020 20 49 44 3a 20 30 78 38 30 61 31 61 62 38 2e 20 | ID: 0x80a1ab8. |
> 00000030 50 49 4e 3a 20 33 30 31 37 33 31 62 64 2c 20 44 |PIN: 301731bd, D|
> 00000040 65 73 63 72 69 70 74 69 6f 6e 3a 20 52 49 4d 20 |escription: RIM |
> 00000050 38 38 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f |8800 Series Colo|
> 00000060 75 72 20 43 44 4d 41 20 48 61 6e 64 68 65 6c 64 |ur CDMA Handheld|
> 00000070 0a 55 73 69 6e 67 20 64 65 76 69 63 65 20 28 50 |.Using device (P|
> 00000080 49 4e 29 3a 20 33 30 31 37 33 31 62 64 0a 43 6f |IN): 301731bd.Co|
> 00000090 6e 74 61 63 74 3a 20 30 78 32 62 36 36 66 35 33 |ntact: 0x2b66f53|
> 000000a0 66 20 28 30 29 0a 20 20 20 20 46 69 72 73 74 4e |f (0). FirstN|
> 000000b0 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 3a 20 |ame : |
> 000000c0 a5 67 65 6f 72 67 65 0a 20 20 20 20 4c 61 73 74 |.george. Last|
> 000000d0 4e 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 20 |Name |
> 000000e0 3a 20 46 69 6e 67 65 72 73 64 74 80 6e 0a 0a 53 |: Fingersdt.n..S|
> 000000f0 74 6f 72 65 20 63 6f 75 6e 74 65 64 20 31 20 72 |tore counted 1 r|
> 00000100 65 63 6f 72 64 73 2e 0a |ecords..|
> 00000108
>
> I'm curious what format the umlaut is being given to me in the record data.
> Please try with and without UTF-8, as you said it worked when UTF-8 was
> disabled.
>
> Then do:
>
> btool -v -d "Address Book"
>
> No call to hexdump is needed here. This will give me the exact record data
> that I get from the device.
>
> I only need the record with the umlaut. Feel free to send it in private
> mail if you want to send the whole thing and let me sort it out. :-)
>
> Thanks!
> - Chris
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Barry-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/barry-devel
Here's the (shortened) output from btool:
locale set to: de_DE
without call to hexdump:
Blackberry devices found:
Device ID: 0x809c880. PIN: 25170713, Description: RIM 8800 Series Colour
GPRS Handheld
Using device (PIN): 25170713
Contact: 0x3f1b25a4 (0)
...
LastName : Wäschenfelder
...
HomeCity : Nürnberg
...
with call to hexdump:
00000000 42 6c 61 63 6b 62 65 72 72 79 20 64 65 76 69 63 |Blackberry
devic|
00000010 65 73 20 66 6f 75 6e 64 3a 0a 44 65 76 69 63 65 |es
found:.Device|
00000020 20 49 44 3a 20 30 78 38 30 39 63 38 38 30 2e 20 | ID:
0x809c880. |
00000030 50 49 4e 3a 20 32 35 31 37 30 37 31 33 2c 20 44 |PIN:
25170713, D|
00000040 65 73 63 72 69 70 74 69 6f 6e 3a 20 52 49 4d 20 |escription:
RIM |
00000050 38 38 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f |8800 Series
Colo|
00000060 75 72 20 47 50 52 53 20 48 61 6e 64 68 65 6c 64 |ur GPRS
Handheld|
00000070 0a 55 73 69 6e 67 20 64 65 76 69 63 65 20 28 50 |.Using
device (P|
00000080 49 4e 29 3a 20 32 35 31 37 30 37 31 33 0a 43 6f |IN):
25170713.Co|
...
000003c0 20 20 20 20 4c 61 73 74 4e 61 6d 65 20 20 20 20 |
LastName |
000003d0 20 20 20 20 20 20 20 20 3a 20 57 e4 73 63 68 65 | :
Wäsche|
000003e0 6e 66 65 6c 64 65 72 0a 20 20 20 20 45 6d 61 69 |nfelder.
Emai|
...
000004c0 38 0a 20 20 20 20 48 6f 6d 65 43 69 74 79 20 20 |8.
HomeCity |
000004d0 20 20 20 20 20 20 20 20 20 20 3a 20 4e fc 72 6e | :
Nürn|
000004e0 62 65 72 67 0a 20 20 20 20 48 6f 6d 65 50 72 6f |berg.
HomePro|
...
locale set to: de_DE.UTF-8
without call to hexdump:
Blackberry devices found:
Device ID: 0x809c880. PIN: 25170713, Description: RIM 8800 Series Colour
GPRS Handheld
Using device (PIN): 25170713
...
LastName : W�schenfelder
...
HomeCity : N�rnberg
...
with call to hexdump:
00000000 42 6c 61 63 6b 62 65 72 72 79 20 64 65 76 69 63 |Blackberry
devic|
00000010 65 73 20 66 6f 75 6e 64 3a 0a 44 65 76 69 63 65 |es
found:.Device|
00000020 20 49 44 3a 20 30 78 38 30 39 63 38 38 30 2e 20 | ID:
0x809c880. |
00000030 50 49 4e 3a 20 32 35 31 37 30 37 31 33 2c 20 44 |PIN:
25170713, D|
00000040 65 73 63 72 69 70 74 69 6f 6e 3a 20 52 49 4d 20 |escription:
RIM |
00000050 38 38 30 30 20 53 65 72 69 65 73 20 43 6f 6c 6f |8800 Series
Colo|
00000060 75 72 20 47 50 52 53 20 48 61 6e 64 68 65 6c 64 |ur GPRS
Handheld|
00000070 0a 55 73 69 6e 67 20 64 65 76 69 63 65 20 28 50 |.Using
device (P|
00000080 49 4e 29 3a 20 32 35 31 37 30 37 31 33 0a 43 6f |IN):
25170713.Co|
00000090 6e 74 61 63 74 3a 20 30 78 33 66 31 62 32 35 39 |ntact:
0x3f1b259|
...
000003c0 20 20 20 20 4c 61 73 74 4e 61 6d 65 20 20 20 20 |
LastName |
000003d0 20 20 20 20 20 20 20 20 3a 20 57 e4 73 63 68 65 | :
W.sche|
000003e0 6e 66 65 6c 64 65 72 0a 20 20 20 20 45 6d 61 69 |nfelder.
Emai|
...
000004c0 38 0a 20 20 20 20 48 6f 6d 65 43 69 74 79 20 20 |8.
HomeCity |
000004d0 20 20 20 20 20 20 20 20 20 20 3a 20 4e fc 72 6e | :
N.rn|
000004e0 62 65 72 67 0a 20 20 20 20 48 6f 6d 65 50 72 6f |berg.
HomePro|
...
I think it would be good if you could set two variables, one for the
BB-charset and one for the system charset (or maybe autodetection? ;-))
and convert the data between these charsets.
Regards,
Christian
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel