[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with calendar notes
From: |
Daniele Forsi |
Subject: |
Problems with calendar notes |
Date: |
Sun, 12 Mar 2006 18:50:51 +0100 |
User-agent: |
Mozilla Thunderbird 1.5 (X11/20051201) |
I'm using a Nokia 3330 (firmware 04.30) with the command
gnokii --getcalendarnote 1 -v
before the text of the note I get a leading byte (counted in the length)
which seems to be a charset or encoding indicator. A quick test with
currencies shows a 3 for Euro, a 2 for Yen and 1 for Dollar/plain ASCII
(it is always in front of the string regardless of the position of the sign)
Text is <Euro sign>123
01 08 00 67 01 01 10 17 01 08 2a 07 0d 01 03 00 | g *
00 00 00 01 00 66 01 07 03 e2 82 ac 31 32 33 | f 123
Text is <Yen sign>123
01 08 00 67 01 01 10 15 01 08 2a 07 0d 01 03 00 | g *
00 00 00 01 00 66 01 05 02 a5 31 32 33 | f 123
Text is $123
01 08 00 67 01 01 10 15 01 08 2a 07 0d 01 03 00 | g *
00 00 00 01 00 66 01 05 01 24 31 32 33 | f $123
Even in this last case, the $ is not visible in the shell because of the
a leading 0x01, this is what I get with cut and paste
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
CATEGORIES:MISCELLANEOUS
SUMMARY:123
DTSTART:20900713T010300
END:VEVENT
END:VCALENDAR
but hexdump shows the "invisible" chars.
The problem is worse with --writecalendarnotes because the phone gets
confused and displays a number of boxes in place of the text.
I browsed other driver sources (nk6510 and nk7110) and found that they
use unicode for calendar notes, but it doesn't seem the case for 3330 (I
tried to recompile with NK6100_CAP_CAL_UNICODE just in case).
Is this encoding used elsewere?
--
Daniele
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problems with calendar notes,
Daniele Forsi <=