JCL Help:CodePageFromLocale

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the ANSI code page for a specific locale.


Pascal

 function CodePageFromLocale(Language: LCID): Word;


Parameters

Parameters Description
Langauge Locale for which to retrieve the ANSI code page.


Return Value

The ANSI code page of the specified locale, or the system's current code page if the locale does not use an ANSI code page.


Description

CodePageFromLocale returns the ANSI code page associated with the specified locale. If the locale does not use an ANSI code page, the system's current ANSI code page is returned.


About

Unit

JclUnicode


Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page