Re: "write.arff" support for "utf-8"

Peter Reutemann <[email protected]> Thu, 11 May 2023 13:13:34 +1200
Newsgroups gmane.comp.ai.weka
Message-ID <CAHoQ12+qZqPSUHEYS_inEFg7zG+csBWFwKKvpBjTANjXH09Dxg@mail.gmail.com>
> Hello everyone. I'm using the "write.arff" function in R. However, some characters appear corrupted in the resulting .arff file. There seems to be no issue within the R environment itself. How can I obtain the data in .arff format with UTF-8 encoding to ensure that the characters remain intact? When I save it as .csv, Weka is unable to read this data. Thank you in advance for your insights and suggestions.

Linux uses UTF-8 by default, but Windows definitely hasn't used it in the past.
Since you're not mentioning your OS, I presume that you are on Windows.
Have a look at the following FAQ:
https://waikato.github.io/weka-wiki/faqs/can_i_process_utf8_datasets_or_files/

Cheers, Peter
-- 
Peter Reutemann
Dept. of Computer Science
University of Waikato, Hamilton, NZ
Mobile +64 22 190 2375
https://www.cs.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html