Difference between revisions of "Lua:ansiToUtf8"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Lua]]
 
[[Category:Lua]]
'''function''' ansiToUtf8(''String'') ''':''' string
+
{{CodeBox|'''function''' ansiToUtf8(''String'') ''':''' string}}
  
 
Converts a string in Ansi encoding to UTF8.
 
Converts a string in Ansi encoding to UTF8.
Line 16: Line 16:
 
|}
 
|}
  
 +
{{LuaSeeAlso}}
  
== See also ==
+
{{Strings}}
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
 
 
=== Related Functions ===
 
* [[Lua:translate|translate]]
 
* [[Lua:utf8ToAnsi|utf8ToAnsi]]
 
* [[Lua:readString|readString]]
 
* [[Lua:writeString|writeString]]
 
* [[Lua:readStringLocal|readStringLocal]]
 
* [[Lua:writeStringLocal|writeStringLocal]]
 
* [[Lua:stringToByteTable|stringToByteTable]]
 
* [[Lua:wideStringToByteTable|wideStringToByteTable]]
 
* [[Lua:byteTableToString|byteTableToString]]
 
* [[Lua:byteTableToWideString|byteTableToWideString]]
 

Latest revision as of 19:21, 25 June 2026

<> Lua API Reference

function ansiToUtf8(String) : string

Converts a string in Ansi encoding to UTF8.

Function Parameters[edit]

Parameter Type Description
String string The string to convert

Main Pages

Core Lua documentation entry points

Lua
Script Engine

String and Encoding Related Lua Functions