Difference between revisions of "MC-Basic:TOASCII8$"
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= ? TOASCII8$(''<string>)'' |AVAILABILITY= Available since version 4.5.18 |DESCRIPTION= Converts theUTF-8 coding format of the input string int…') |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:TOASCII8$}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= | ||
Line 7: | Line 8: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
− | + | Since Version 4.5.18 | |
|DESCRIPTION= | |DESCRIPTION= | ||
− | Converts | + | Converts the UTF-8 coding format of the input string into the ASCII-8 coding format. Symbols located outside ASCII-8 range (Unicode value higher than 0xFF) are replaced by question marks. |
|TYPE= | |TYPE= | ||
Line 36: | Line 37: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:COMMON SHARED ... AS LONG or DOUBLE or STRING or STRING OF UTF8|COMMON SHARED ... AS LONG or DOUBLE or STRING or STRING OF UTF8]] |
− | * [[ | + | * [[MC-Basic:TOUTF8$|TOUTF8$]] |
− | |||
+ | [[Category:MC-Basic:String Manipulation|TOASCII8$]] | ||
}} | }} |
Latest revision as of 09:29, 2 May 2017
Language: | English • 中文(简体) |
---|
Converts the UTF-8 coding format of the input string into the ASCII-8 coding format. Symbols located outside ASCII-8 range (Unicode value higher than 0xFF) are replaced by question marks.
Syntax
? TOASCII8$(<string>)
Availability
Since Version 4.5.18
Type
<string>: string
Range
<string>: string
Scope
Configuration, Task or Terminal
Examples
Common shared UTF8Str as string of UTF8
? TOASCII8$(UTF8Str)