a very basic example of unicode

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6334 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2013-04-11 08:15:09 +00:00
parent dabc0c1088
commit b203e07999
2 changed files with 31 additions and 0 deletions

30
Examples/unicode.nsi Normal file
View file

@ -0,0 +1,30 @@
; unicode is not enabled by default
; unicode installers will not be able to run on Windows 9x!
Unicode true
Name "Unicode Games"
OutFile "unicode.exe"
ShowInstDetails show
XPStyle on
Section "Unicode in UI"
DetailPrint "Hello World!"
DetailPrint "שלום עולם!"
DetailPrint "مرحبا العالم!"
DetailPrint "こんにちは、世界!"
DetailPrint "你好世界!"
DetailPrint "привет мир!"
DetailPrint "안녕하세요!"
DetailPrint "${U+00A9}" # arbitrary unicode chars
SectionEnd
Section "Unicode in Files"
# TODO add file I/O unicode function examples
SectionEnd