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:
parent
dabc0c1088
commit
b203e07999
2 changed files with 31 additions and 0 deletions
|
@ -19,6 +19,7 @@ examples = Split("""
|
|||
TextFunc.ini
|
||||
TextFunc.nsi
|
||||
TextFuncTest.nsi
|
||||
unicode.nsi
|
||||
UserVars.nsi
|
||||
VersionInfo.nsi
|
||||
viewhtml.nsi
|
||||
|
|
30
Examples/unicode.nsi
Normal file
30
Examples/unicode.nsi
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue