Documentation  |   Table of Contents   |  < Previous   |  Next >   |  Index

Table of Contents

Text and Localization

Exploring Palm OS®

About This Document

Who Should Read This Book

What This Book Contains

Changes to This Book

The Exploring Palm OS Series

Additional Resources

Part I: Concepts

1 Text

Character Encodings

Characters

Declaring Character Variables

Using Character Constants

Missing and Invalid Characters

Retrieving a Character's Attributes

Virtual Characters

Retrieving the Character Encoding

Strings

Manipulating Strings

Performing String Pointer Manipulation

Truncating Displayed Text

Comparing Strings

Dynamically Creating String Content

Summary of Text API

2 Implementing Global Find

Implementing sysAppLaunchCmdFind

Implementing sysAppLaunchCmdGoTo

Implementing sysAppLaunchCmdSaveData

Summary of Find Manager API

3 Localized Applications

Localization Guidelines

Locales

Overlays

Dates and Times

Numbers

Obtaining Locale Information

Summary of Localization API

Part II: Reference

4 Find

Find Structures and Types

FindMatchType

FindParamsType

Find Constants

Size Constants

Find Launch Codes

sysAppLaunchCmdFind

Find Functions and Macros

Find

FindDrawHeader

FindGetLineBounds

FindSaveMatch

FindSaveMatchV40

FindStrInStrV50

5 Locale Manager Types

Locale Manager Structures and Types

CountryType

LanguageType

LmCountryType

LmLanguageType

LmLocaleType

NumberFormatType

Locale Manager Constants

LmLocaleSettingChoice

Locale Manager Errors

Locale Manager Size Constants

Locale Wildcard Constants

6 Locale Manager

Locale Manager Functions and Macros

LmBestLocaleToIndex

LmCountryToISOName

LmGetFormatsLocale

LmGetLocaleSetting

LmGetNumberSeparators

LmGetNumLocales

LmGetROMLocale

LmGetSystemLocale

LmISONameToCountry

LmISONameToLanguage

LmLanguageToISOName

LmLocaleToIndex

LmSetFormatsLocale

7 String Manager

String Manager Constants

String Manager Constants

String Manager Functions and Macros

StrAToI

StrCaselessCompare

StrCat

StrChr

StrCompare

StrCompareAscii

StrCopy

StrDelocalizeNumber

StrIToA

StrIToH

StrLCat

StrLCopy

StrLen

StrLocalizeNumber

StrNCaselessCompare

StrNCat

StrNCompare

StrNCompareAscii

StrNCopy

StrPrintFV50

StrStr

StrToLower

StrVPrintFV50

8 Text Manager

Text Manager Structures and Types

CharEncodingType

TxtConvertStateType

Text Manager Constants

Byte Attribute Flags

Character Attributes

Character Encoding Attributes

Encoding Conversion Constant Modifiers

Encoding Conversion Substitution Constants

Size Constants

Text Manager Error Constants

Text Manager Feature Settings

TranslitOpType

Text Manager Functions and Macros

CHAR_ENCODING_VALUE

sizeOf7BitChar

TxtByteAttr

TxtCaselessCompare

TxtCharAttr

TxtCharBounds

TxtCharEncoding

TxtCharIsAlNum

TxtCharIsAlpha

TxtCharIsCntrl

TxtCharIsDelim

TxtCharIsDigit

TxtCharIsGraph

TxtCharIsHardKey

TxtCharIsHex

TxtCharIsLower

TxtCharIsPrint

TxtCharIsPunct

TxtCharIsSpace

TxtCharIsUpper

TxtCharIsValid

TxtCharIsVirtual

TxtCharSize

TxtCharXAttr

TxtCompare

TxtConvertEncoding

TxtEncodingName

TxtFindString

TxtGetChar

TxtGetEncodingFlags

TxtGetNextChar

TxtGetPreviousChar

TxtGetTruncationOffset

TxtGetWordWrapOffset

TxtMaxEncoding

TxtNameToEncoding

TxtNextCharSize

TxtParamString

TxtPrepFindString

TxtPreviousCharSize

TxtReplaceStr

TxtSetNextChar

TxtStrEncoding

TxtTransliterate

TxtTruncateString

TxtWordBounds

Part III: Appendixes

A Language-specific Information

Notes on the Japanese Implementation

Japanese Character Encoding

Japanese Character Input

Displaying Japanese Strings on UI Objects

Displaying Error Messages