Re: "write.arff" support for "utf-8"
[email protected] Fri, 12 May 2023 07:32:25 -0000
| Newsgroups | gmane.comp.ai.weka |
|---|---|
| Message-ID | <168387674536.310328.4834370160705764023@sys-mailman-prd.its.waikato.ac.nz> |
Hello, I've tried many things but I couldn't succeed. I can briefly explain what I have tried. 1- I added "fileEncoding=utf-8" to the RunWeka.ini file. Unfortunately, it didn't work. 2- I tried adding the "-Dfile.encoding=utf-8" parameter when opening Weka from the terminal. Unfortunately, that didn't work either. There is no "encoding" parameter in write.arff like in write_csv in R. 3- I tried saving the file in R as ".csv" format and opening it in Weka, but it gave me a file opening error. Moreover, I don't prefer to open the file with 432 rows in .csv format because individually converting them with nominal transformation filters would take a lot of time. If I can use write.arff, I won't need to do that because R already performs nominal and other transformations. 4- All characters in the .csv file appear correctly as UTF-8. I am working on a Windows platform and using Weka 3.8.6. I hope that clarifies the situation. If you have any more questions, feel free to ask. Thank you, my colleague. _______________________________________________ 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