Skip to content

Instantly share code, notes, and snippets.

@hpcorona
Created July 13, 2011 22:04
Show Gist options
  • Save hpcorona/1081441 to your computer and use it in GitHub Desktop.
Save hpcorona/1081441 to your computer and use it in GitHub Desktop.
Save a UTF-8 text file on WinDev
PROCEDURE UTF8SaveText(LOCAL FileName, Content)
fSaveText(FileName, Charact(0xEF) + Charact(0xBB) + Charact(0xBF) + Content)
@hpcorona
Copy link
Author

A note here, the Content must be on UTF-8 format, not on WinDev format.

To also convert the content you must use StringToUTF8 on the Content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment