Platforms to show: All Mac Windows Linux Cross-Platform
UniversalCharacterDetectionMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Basic | MBS Util Plugin | 10.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Based on the Mozilla project.
You can pass a string with bytes to this class and receive an encoding as answer. Similar to the GuessJapaneseEncoding function built into Xojo.
Possible encoding names used by this class: Big5, EUC-JP, EUC-KR, x-euc-tw, gb18030, windows-1252, UTF-8, UTF-16BE, X-ISO-10646-UCS-4-3412, UTF-32BE, X-ISO-10646-UCS-4-2143, UTF-32LE, UTF-16LE.
- event Report(Charset as string)
- property LastCharSet as String
- 3 methods
- method AddData(data as string)
- method Constructor(filter as Integer)
- method Finish
- 8 constants
Constants
Constant | Value | Description |
---|---|---|
FilterAll | 31 |
One of the language filter constants.
All languages. |
FilterChinese | 3 |
One of the language filter constants.
Traditional and Simplified Chinese together. |
FilterChineseSimplified | 1 |
One of the language filter constants.
Simplified Chinese. |
FilterChineseTraditional | 2 |
One of the language filter constants.
Traditional Chinese. |
FilterCJK | 15 |
One of the language filter constants.
Chinese, Japanese and Korean together. |
FilterJapanese | 4 |
One of the language filter constants.
Japanese |
FilterKorean | 8 |
One of the language filter constants.
Korean |
FilterNonCJK | 16 |
One of the language filter constants.
Non Chineses/Japanes/Korean languages. |
This class has no sub classes.
Blog Entries
Release notes
- Version 22.5
- Updated UniversalCharacterDetectionMBS class to newer library code.
Some examples using this class:
The items on this page are in the following plugins: MBS Util Plugin.
UnikeyMBS - UNMutableNotificationContentMBS
