Something wrong with icode! Encodings ambiguous between UF-16 BE and LE (1800957, 1899957) #682
Replies: 6 comments
-
Hmm, what language of text are you trying to analyze? You have to make UTF-8, Latin1, or ASCII text files, not UTF-16, to analyze it using KH Coder. |
Beta Was this translation helpful? Give feedback.
-
I saw my data, the automatic WhatsApp export delivers very dirty text, I am going to clean the text of emojis, forward slashes () and numbers, and I think that will solve the problem Thanks for your help |
Beta Was this translation helpful? Give feedback.
-
In my experiences, Notepad++ was very useful in this situation. Open the text file with Notepad++, click "Encoding", "Convert to ANSI", then save the file. Last time I got the same error with English language data, this procedure solved the problem. Best, |
Beta Was this translation helpful? Give feedback.
-
If you still get the same error, please try the latest version 3.Beta.01b: https://github.com/ko-ichi-h/khcoder/releases/tag/3.Beta.01b Now it won't stop pre-processing when encoding error occurs. Instead, it assumes the text is in UTF-8 and just continues. d40826f |
Beta Was this translation helpful? Give feedback.
-
I tried with notepad ++, and it worked, however, I will take advantage right now and download the updated software thanks, again |
Beta Was this translation helpful? Give feedback.
-
After loading the txt file, (it's a txt document exported to whatsapp) when I click on the pre-processing button I get the error that is in the screenshot.
*The error message as detailed as possible
message console:
Encoding of this Console: cp850
Encoding of this file system: cp850
Locale: cp1252
This is KH Coder 3.Beta.01a on MSWin32.
CWD: C:/khcoder3
Available Physical Memory: 859MB
Checking MySQL connection...
R Version: 3.1, x86_64
Using un-threaded functions...
Monitors: 0, 1536, 0, 864
new window: 649, 141
new window: 138, 161
Connected to MySQL 5.6, khc3.
Checking icode (en)... Encodings ambiguous between UTF-16 BE and LE (1800957, 1800957)
new window: 1158, 208
To Reproduce
Steps to reproduce the behavior:
Go to 'project -> new -> browse a txt file '
Click on 'Pre-processing button, then -> Run pre-processing'
See error:
Something wrong with icode! Encodings ambiguous between UF-16 BE and LE (1800957, 1899957) at /<C:\khcoder3\kh_coder.exe>kh_jchar.pm line 296
Screenshots
Version number of KH Coder
3. Beta.01a [Perl 5.14.2, Perl/Tk 804.03]
OS
Windows 10
Beta Was this translation helpful? Give feedback.
All reactions