![]() |
#1 |
Junior Member
Join Date: Jan 2021
Posts: 10
|
Swedish charcters in messages
HI,
I have succeded in installing the Swedish texts for the insatallation views. LoadLanguageFile "${NSISDIR}\Contrib\Language files\Swedish.nlf" But in the special messages, that I self wright, the special charaters are not converted. How do I do this? |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,356
|
Where are you writing the strings? Are you building a Unicode installer?
You ideally should encode your .nsi/nsh files as Utf8 with a BOM or as Utf16. IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jan 2021
Posts: 10
|
I am learning by using the Examples1 and -2.
Just palying around, trying to understand what happens when. |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Jan 2021
Posts: 10
|
Swedish charcters in sectionnames
Hi,
I am still asking for som help on how to get the special Swedish characters (ÅÄÖ and åäö) in messages and in sectionnames. [IMG]C:\UTV\DF191\val.png[/IMG] |
![]() |
![]() |
![]() |
#5 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,356
|
I still don't know if you are saving your .nsi file as Unicode with a BOM.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Jan 2021
Posts: 10
|
Anders,
I do not understand what you mean with BOM. I edit my NSI-fil in Notepad++ |
![]() |
![]() |
![]() |
#7 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,356
|
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Jan 2021
Posts: 10
|
Thanks for helping!
I now work with UTF-8-BOM and get the right text. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|