|
|
|
|
|
- Changing the character set
- Font variable
Charset (Property) In french: Alphabet
Available only with these kinds of connection
Use with a Font variableThe Charset property is used to: - Get the character set used by a variable of type Font.
- Change the character set used by a variable of type Font.
Use with HFSQL data filesThe Charset property gets the character set used by an HFSQL data file. This character set is selected with ChangeCharset and taken into account when creating the data file. This property is read-only. Reminder: By default, data files use the ANSI character set. To change the character set of a data file, you must:
HOpen(Customer)
FileLanguage is int = Customer.Charset
SWITCH FileLanguage
CASE charsetArabic: ChangeCharset(charsetArabic)
CASE charsetDefault: ChangeCharset(charsetDefault)
CASE charsetGreek: ChangeCharset(charsetGreek)
CASE charsetHebrew: ChangeCharset(charsetHebrew)
CASE charsetOccidental: ChangeCharset(charsetOccidental)
CASE charsetRussian: ChangeCharset(charsetRussian)
CASE charsetTurkish: ChangeCharset(charsetTurkish)
OTHER CASE
ChangeCharset(charsetOccidental)
END
Syntax
Getting the character set used by an HFSQL data file Hide the details
<Data file charset> = <Data file>.Charset
<Data file charset>: Integer constant Type of character set used by the specified data file:
| | charsetAnsi | Roman characters in ANSI standard | charsetArabic | Arabic characters | charsetBaltic | Baltic characters | charsetChinese | Chinese characters (People's Republic of China) | charsetTraditionalChinese | Traditional Chinese characters (Republic of Taiwan) | charsetKorean | Korean characters | charsetCurrent | Uses the current character set specified with ChangeCharset | charsetDefault | Default character set of the current computer. No character set is forced. | charsetEastEurope | Eastern European character sets (Polish, etc.) | charsetGreek | Greek characters | charsetHebrew | Hebrew characters | charsetJapanese | Japanese characters | charsetMac | Mac Roman character set (used in previous versions of Macintosh). | charsetOccidental | Roman characters in ANSI standard | charsetRussian | Russian characters | charsetThai | Thai characters | charsetTurkish | Turkish characters | charsetVietnamese | Vietnamese characters |
<Data file>: Character string Logical name of the HFSQL data file to use. Remarks Changing the character set When changing the character set, the fonts that use the new character set must be installed on the current computer. Remark: To change the character set for all fonts in a single operation, use ChangeCharset.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|