Symbian3/SDK/Source/GUID-CD3B2B7D-BAE5-5F99-A5F5-74AFC678D986.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Wed, 31 Mar 2010 11:11:55 +0100
changeset 7 51a74ef9ed63
parent 0 89d6a7a84779
permissions -rw-r--r--
Week 12 contribution of API Specs and fix SDK submission

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-CD3B2B7D-BAE5-5F99-A5F5-74AFC678D986"><title>SNM Source File</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>The SNM source file is a text file which contains the mappings between standard character set identifiers and their corresponding Symbian UIDs. The <codeph>snmtool</codeph> uses this file to create SNM binary files (plug-in data files or SNM files). Application developers can then pass the standard character set identifiers to the Charconv APIs without knowing Symbian UIDs. </p> <p>The SNM source file is case-insensitive. Comments begin with a # and extend to the end of the line. Additional blank lines and leading and trailing whitespace are ignored. </p> <section><title>Syntax</title> <p>The source file consists of zero, one or more blocks of information. The first line in each block has the format: </p> <codeblock id="GUID-D28FFCA0-34A6-53BA-B5DC-EC10ACE37D1E" xml:space="preserve">CharacterSet 0x&lt;UID-in-hexadecimal&gt;</codeblock> <p>The remainder of each block consists of zero, one or more lines, each of which is either in the format: </p> <codeblock id="GUID-FCCCFB6C-8226-52AF-99CA-0677B1A117CC" xml:space="preserve">StandardName "&lt;standard-name&gt;"</codeblock> <p>or in the format: </p> <codeblock id="GUID-DD7912CE-724A-5441-A8FD-1BFBF4D6540C" xml:space="preserve">MibEnum &lt;MIB-enum-in-decimal&gt;</codeblock> </section> <section><title>Example</title> <p>The following block provides the mapping information for the Shift-JIS character set: </p> <codeblock id="GUID-0A33FB91-9372-5831-A669-60ABDEB67E17" xml:space="preserve">
CharacterSet 0x10000fbd
 StandardName "Shift_JIS"
 StandardName "MS_Kanji"
 StandardName "csShiftJIS"
 MibEnum 17                          
</codeblock> </section> </conbody></concept>