Detect text encoding of BLOB.
miyako/4d-plugin-native-encoding-detection
status:=NED Detect encoding(data{;params})
Parameter
Type
Description
data
BLOB
source text
params
OBJECT
status
OBJECT
Params
| Property | Type | Description |
|---|---|---|
| sourceTextType | Text | one of 7bit 8bit dbcs html Windows only |
| preferredCodePage | Number | Windows only |
Results
| Property | Type | Description |
|---|---|---|
| encodings[].code | Number | can be -1 on Mac (kCFStringEncodingInvalidId) |
| encodings[].language | Text | platform specific identifier; can be -1 on Windows |
| encodings[].charset | Text | IANA charset name |
| encodings[].name | Text | platform specific identifier |
| encodings[].script | Text | Mac only |
| encodings[].percentage | Number | Windows only |
| encodings[].confidence | Number | Windows only |
| encodings[].fixedWidthFont | Text | Windows only |
| encodings[].proportionalFont | Text | Windows only |
PREVIOUSWindow Style