Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section

Introduction

This article is about how to provisioning special characters for example: Handset names.

Example of a Display name containing special characters.

<SYMB_ITEM ID="BS_VOIP_Data.astVoipAccounts[0].aucS_SIP_DISPLAYNAME[0]" class="symb_item" value='"Martinäüö"'/>

When using the following xml template:


Info
iconfalse
titleXML template example

<?xml version="1.0" encoding="ISO-8859-1"?>
<ProviderFrame xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="N720_general.xsd">
<Provider>

<MAC_ADDRESS value="7C2F80123456"/>
<PROFILE_NAME class="string" value="Test"/>

<SYMB_ITEM ID="BS_VOIP_Data.astVoipAccounts[0].aucS_SIP_DISPLAYNAME[0]" class="symb_item" value='"Martinäüö"'/>


</Provider>
</ProviderFrame>


This will result in the name on the handset that does not match what you have send, the characters "äüö" will be displayed wrong.

To solve this, you need to use the encoding "UTF-8". Please change this in the XML header.


Info
iconfalse
titleXML template example UTF-8

<?xml version="1.0" encoding="UTF-8"?>
<ProviderFrame xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="N720_general.xsd">
<Provider>

<MAC_ADDRESS value="7C2F80123456"/>
<PROFILE_NAME class="string" value="Test"/>

<SYMB_ITEM ID="BS_VOIP_Data.astVoipAccounts[0].aucS_SIP_DISPLAYNAME[0]" class="symb_item" value='"Martinäüö"'/>


</Provider>
</ProviderFrame>


If you are using Notepad++ to create these files, then you need to convert (Encoding) them to UTF-8.