29

I'm trying to do localization in WiX installer. How can I fix the garbled words shown below in the installer properties? The language that I defined is Japanese.

enter image description here

enter image description here

Brad Koch
  • 19,267
  • 19
  • 110
  • 137
user1219310
  • 732
  • 1
  • 9
  • 23
  • 8
    Trying to install your application is part of a developers responsibility, and even more so in the age of WIX than before. WIX is XML code, and also a core tool needed to deliver your application to end users. – Stein Åsmul Jun 23 '14 at 08:41
  • 1
    I am not sure what is wrong, but the first few questions would be: 1. What Windows version is this? 2. Is the system Japanese? 3. If not, have you installed the Japanese input language or language pack? – Stein Åsmul Jun 23 '14 at 08:43
  • The windows version is 7 and I have installed Japanese language pack in my computer and have tried switch to test the installer. The result still be same and shows the garble words within the installer properties. – user1219310 Jun 23 '14 at 09:05
  • 1
    @user1219310 For future reference, a copy/paste of your xml code would be preferable to a screenshot. – Brad Koch Jun 24 '14 at 14:24
  • Added a comment to Arnson's answer. – Stein Åsmul May 21 '18 at 15:54
  • [Cross-linking for reference](https://stackoverflow.com/q/46357578/129130). – Stein Åsmul Jan 13 '19 at 11:35

1 Answers1

21

Windows Installer doesn't officially support codepage 65001 for UTF-8 -- mostly because of UI problems like this. Try using codepage 932 for ja-JP strings. Also, make sure you're setting the Package/@SummaryCodepage attribute (the .wxl file's code page sets Product/@Codepage).

Bob Arnson
  • 21,377
  • 2
  • 40
  • 47
  • [Cross-linking a similar post](https://stackoverflow.com/questions/49595758/wix-toolset-license-agreement-multi-languages-issue/49605354#49605354) for easy retrieval. I think it relates to the same issue. – Stein Åsmul May 21 '18 at 15:54