Symbian3/SDK/Source/GUID-CD3B2B7D-BAE5-5F99-A5F5-74AFC678D986.dita
changeset 0 89d6a7a84779
equal deleted inserted replaced
-1:000000000000 0:89d6a7a84779
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <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">
       
    13 CharacterSet 0x10000fbd
       
    14  StandardName "Shift_JIS"
       
    15  StandardName "MS_Kanji"
       
    16  StandardName "csShiftJIS"
       
    17  MibEnum 17                          
       
    18 </codeblock> </section> </conbody></concept>