Difference between revisions of "Lua:ansiToUtf8"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
m (Added CodeBox Template.)
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 ==
 
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[Lua:translate|translate]]
+
{{Strings}}
* [[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]]
 

Revision as of 23:33, 4 December 2025

<> Lua API Reference

function ansiToUtf8(String) : string

Converts a string in Ansi encoding to UTF8.

Function Parameters

Parameter Type Description
String string The string to convert

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Related Functions

String and Encoding Related Lua Functions