DTextEntry:SetAllowNonAsciiCharacters
From GMod Wiki
Function | |
Syntax |
DTextEntry.SetAllowNonAsciiCharacters( Boolean state ) Where is this used? |
Description: | |
Sets whether a text entry box accepts non-ASCII characters. | |
Returns: | nil |
Part of Library: | DTextEntry |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DTextEntry:SetAllowNonAsciiCharacters]DTextEntry:SetAllowNonAsciiCharacters [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |
Additional Notes
- Normally a text entry would only accept characters when their numeric value is less than 128. That makes the user unable to input some letters from German, French, Swedish, etc. alphabet.
- When allowing non-ASCII characters, a small box appears inside the text entry, indicating your keyboard's current language.