gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Non-ASCII characters lost when writing calendar entries


From: Magnus Henoch
Subject: Non-ASCII characters lost when writing calendar entries
Date: Sun, 28 Jan 2007 12:04:55 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (berkeley-unix)

I'm running the CVS version of gnokii on NetBSD/powerpc, connecting to
a Nokia 3120 with a CA-42 cable.

If I write the following to a file, in UTF-8 encoding:

BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
CATEGORIES:REMINDER
SUMMARY:Blåbärsgröt
DTSTART:20070128T090000
END:VEVENT
END:VCALENDAR

and run

gnokii --writecalendarnote /tmp/diary-file 1

the text on the phone is only "Bl".  From the debug output, this seems
to be the only thing gnokii tries to write:

GNOKII Version 0.6.14
LOG: debug mask is 0x1
phone instance config:
model: 3120
port_device: /dev/ttyU0
connection_type: 2
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script: 
disconnect_script: 
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyU0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Switching to FBUS mode
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |                 
[Received Ack of type 1b, seq: 80]
[Sending Ack of type 1b, seq: 7]
Message received: 0x1b / 0x0032
01 31 00 08 00 01 58 2c 00 26 56 20 30 36 2e 31 |  1    X, &V 06.1
31 20 20 20 20 20 0a 31 37 2d 30 35 2d 30 35 0a | 1      17-05-05 
52 48 2d 31 39 0a 28 63 29 20 4e 6f 6b 0a 41 00 | RH-19 (c) Nok A 
00 00                                           |                 
Received message type 1b
model length: 5
Received model RH-19
Function gn_vcal_file_event_read() is deprecated. Use gn_ical2calnote() instead.
Start time (YYYY-MM-DD HH:MM:SS):
        2007-01-28 09:00:00
End time (YYYY-MM-DD HH:MM:SS):
        -- ::
Alarm time (YYYY-MM-DD HH:MM:SS):
        -- ::
Text: Bl
Message sent: 0x13 / 0x0004
00 01 00 31                                     |    1            
[Received Ack of type 13, seq:  1]
[Sending Ack of type 13, seq: 0]
Message received: 0x13 / 0x000a
01 4e 00 32 00 7d 00 55 55 55                   |  N 2 } UUU      
Received message type 13
First free position received: 125!
char_mblen(Bl): 2
Message sent: 0x13 / 0x003a
00 01 00 65 00 00 00 00 00 7d 00 00 00 00 ff ff |    e     }    ÿÿ
ff ff 00 00 00 00 ff ff ff ff 02 00 07 d7 01 1c | ÿÿ    ÿÿÿÿ   ×  
09 00 07 d7 01 1c 09 00 00 00 ff ff 20 00 00 00 |    ×      ÿÿ    
00 02 00 00 00 00 00 42 00 6c                   |        B l      
[Received Ack of type 13, seq:  2]
[Sending Ack of type 13, seq: 1]
Message received: 0x13 / 0x000e
01 4e 00 66 00 00 00 00 00 7d 00 00 00 00       |  N f     }      
Received message type 13
Calendar note written at 125 location
Skrivning lyckades!
Serial device: closing device





reply via email to

[Prev in Thread] Current Thread [Next in Thread]