Prev Previous Post   Next Post Next
Old 2nd July 2020, 04:26   #1
Junior Member
Join Date: Mar 2020
Posts: 8
FileWrite utf-8

I am building a Unicode installer. I need to write utf-8 to a file. I have searched far and wide an conducted many experiments. FileWrite in states that “(If you are building a Unicode installer, the function converts the string to ANSI/MBCS. The system default ANSI codepage (ACP) is used during the conversion)”. How do I set the system default ANSI codepage?, neither ‘chcp 65001’ [the windows utf-8 code page] before running ‘makensis’ nor while running the installer works.

I  have a utf-8 with ʙᴏᴍ .nsi script. with:

FileOpen $9 '$INSTDIR\test.txt' w
FileWrite $9 "AÖ•
gene.thomas is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

filewrite, unicode

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump