Hi,

Are you sending the sms from a windows machine? Then you are sending 
windows-1252 charset, which is a superset of iso-8859-1. It defines 
additionally the range 0x80 - 0x9F, and guess what, the Euro symbol is 0x80, 
which is not defined in iso-8859-1. The best way to get Euro symbols is with 
utf-8 (your sms space is reduced, though). 

Poor kannel is trying to do its best with an undefined symbol. If you want to 
save sms space try working with windows-1252.

By the way 0xFFFF80 is an integer. The byte is the LSB, 0x80.

BR,
Nikos
  ----- Original Message ----- 
  From: Latitude Berlin 
  To: users 
  Sent: Thursday, August 13, 2009 5:49 PM
  Subject: invalid charset returned by sms-service


  Hi,


  group = sms-service
  get-url = http:// ... &text=%a&charset=%C

  I sent an sms with euro symbol and Kannel forwarded it to the Servlet. The 
charset sent by Kannel was ISO-8859-1. Euro symbol is not part of ISO-8859-1. 
How kannel is setting this up?

  The byte value of euro symbol which I get in Servlet is: ffffff80

  Cheers.

Reply via email to