go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.85k stars 283 forks source link

error LGHT0311 : A string was provided with characters that are not available in the specified database code page '1252'. Either change these characters to ones that exist in the database's code page, or update the database's code page by modifying one of the following attributes: Product/@Codepage, Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage. #566

Open lucasjinreal opened 3 years ago

lucasjinreal commented 3 years ago
 error LGHT0311 : A string was provided with characters that are not available in the specified database code page '1252'. Either change these characters to ones that exist in the database's code page, or update the database's code page by modifying one of the following attributes: Product/@Codepage, Module/@Codepage, Patch/@Codepage, PatchCreation/@Codepage, or WixLocalization/@Codepage.
lucasjinreal commented 3 years ago

I fixed it, but can not show any icons or svg pictures:

image

provokateurin commented 3 years ago

Qouting from https://github.com/wixtoolset/issues/issues/2841:

This causes LGHT0311 build failures if you have strings with non-English characters in them (like I do).

Please see https://wixtoolset.org/documentation/manual/v3/overview/codepage.html which seems to have instructions on how to fix this. If you find a proper solution please open a PR to make it available for everyone.

pchampio commented 3 years ago

Wix is used by hover to create a windows installer ? Can you confirm that this issue is related to a hover dependency? This isn’t a go-flutter embedder issue ?

lucasjinreal commented 3 years ago

@pchampio Yeah, you are right, not hover issue. But I don't know why packaged msi can not show svgs or icons.

But generate flutter_app.exe can show normally.