JCL Help:StringToWideStringEx

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts a string to a WideString.


Pascal

 function StringToWideStringEx(const S: AnsiString; CodePage: Word): WideString;


Parameters

Parameters Description
const S: AnsiString The string to convert to unicode.
CodePage: Word The code page to be used by the conversion. You can specify the value of any available code page or one of the following values:


Return Value

The converted string.


Description

StringToWideStringEx maps a string to a Wide (unicode) string for the specified codepage. This is merely a convenient wrapper for the MultiByteToWideChar API function.


See Also

WideStringToStringEx TranslateString


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