XML character encoding

Unanswered Question
Aug 14th, 2008


i have written a service which sends some XML to the IP phone. The problem is, that it uses characters like čžšćđ, but when i set <?xml version="1.0" encoding="UTF-8"?> at the beginning, it says: XML parse error.

Is there any way to display these characters on the phone?



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
stephan.steiner Thu, 08/14/2008 - 05:18

Why didn't you mention what type of phone and what firmware is used?... those things are important. As is knowing whether the phone has the locale to actually display such characters (earlier phone loads couldn't handle any non 7bit ASCII characters unless they had the appropriate locale loaded).

And you might have to try with the character encoding appropriate for your type of phone.. most of my phones (all the latest loads, and either English, German, French or Italian locales) accept pushed data (not via POST though.. I do it via JTAPI) if I prepend the following header (that codepage is the codepage we use locally)

<?xml version="1.0" encoding="ISO-8859-1"?>

Older loads didn't accept any xml tags before CiscoIPPhone elements (hence the first remark.. with still a bunch of CCM 4.0/1 and even 3.x versions out there those installations may have seen the last firmware load upgrade years ago).


This Discussion