Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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:


XML 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"


XML 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.

  • No labels