Menu

writeFile in different coding than windows (system) are set

Anonymous
2018-10-31
2018-10-31
  • Anonymous

    Anonymous - 2018-10-31

    Hi,

    is it possible to write a String to a utf-8 coding file?

     
    • Anonymous

      Anonymous - 2018-10-31

      I found in the forum the new function stringToUtf8Array and then write over writeBinaryFile.

       
  • Stefan Zieker

    Stefan Zieker - 2018-10-31

    Hi,

    if you use writeBinaryFile then your utf-8 bytes (from stringToUtf8Array) should be written directly into the file.

     

    Last edit: Stefan Zieker 2018-10-31

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.