WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Strings

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Translate String Using UTF-8

 Keywords: Unicode Ascii Translate Convert Codepage String Using UTF UTF-8 ChrSetCodepage ChrStringToUnicode ChrUnicodeToString

; Convert / Translate string using UTF-8
strPre = "“expectation”"
intCP = ChrSetCodepage (65001); Translate using UTF-8
strUni = ChrStringToUnicode (strPre); Converts an ANSI string to a Unicode string
intCP = ChrSetCodepage (intCP); Back to original code page
strPost = ChrUnicodeToString (strUni); Converts an Unicode string to ANSI
Pause(strPre,strPost)


Article ID:   W18290
Filename:   Translate String Using UTF-8.txt
File Created: 2012:04:26:09:59:44
Last Updated: 2012:04:26:09:59:44