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 id="GUID-E80AA33B-E5E0-5F4B-9A7F-65B357F7161C" xml:lang="en"><title>Overview</title><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
13 <p>This section details the source text resource file format, and is a useful |
|
14 reference for developers in C++ and OPL.</p> |
|
15 <p>Topics covered include: the lexical conventions obeyed, the C++ pre-processor |
|
16 statements supported, and a description of the native resource compiler statements.</p> |
|
17 <p><b>Changes since v5</b> </p> |
|
18 <p>Note the following changes since v5:</p> |
|
19 <ul> |
|
20 <li id="GUID-164E5B5D-84BC-5F04-9020-8FA2BE6FFBA9"><p>UTF8 encoding can be |
|
21 used in source files to represent Unicode values.</p> </li> |
|
22 <li id="GUID-318004D2-F6F9-5126-9ED5-4ABC73FC2A0E"><p><codeph>TEXT</codeph> resources |
|
23 have been deprecated: you should use <codeph>LTEXT</codeph> instead.</p> </li> |
|
24 <li id="GUID-D19BD6D2-176B-5958-9BCB-AFEDF407E7B7"><p>Binary compatible is |
|
25 broken with Unicode resource files prepared with v5. The handling of Unicode |
|
26 string resources (<codeph>TEXT16</codeph> and <codeph>LTEXT16</codeph>) has |
|
27 changed to ensure that the Unicode characters are aligned to a multiple of |
|
28 2 bytes when the resource is used. </p> </li> |
|
29 <li id="GUID-4470E96B-A2AD-5ABC-AB21-B532FC01ECE1"><p>The < number > syntax |
|
30 for using special character codes expects a Unicode character value if a Unicode |
|
31 resource is being created. The < number > syntax cannot be used to specify |
|
32 individual 8-bit values in Unicode resource files.</p> </li> |
|
33 </ul> |
|
34 </conbody></concept> |
|