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
The class for univeral character encoding detection.

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.

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.

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS Util Plugin.


UnikeyMBS   -   UNMutableNotificationContentMBS


The biggest plugin in space...