kuiperzone / PupNet-Deploy

PupNet Deploy is a cross-platform deployment utility which packages your .NET project as a ready-to-ship installation file in a single step.
GNU Affero General Public License v3.0
193 stars 6 forks source link

Problems displaying other languages ​​when building Avalonia version 11.0.5 for linux-x64 #34

Closed Walli-DO closed 6 months ago

Walli-DO commented 6 months ago

When building Avalonia version 11.0.5 for linux-x64, in some places text written in a language other than English is displayed incorrectly. However, this problem does not appear if you create an installer for Windows. However, this problem does not occur in all places; in some places the text display is normal, but in others it is erroneous. Please tell me what could be the cause of the problem Screenshot

kuiperzone commented 6 months ago

Hi Walli,

You don't mention whether you are building AppImage, flatpak, RPM or DEB. The screenshot is not something I can recognise. I can't help but suspect that this is an issue with Avalonia issue or your app not displaying correctly on Linux, rather than an installer issue?

I would suggest to try publishing your app directly from command line (without PupNet - just dotnet publish), and see if the problem still occurs.

If not, check if you need any or don't need any publish arguments and compare with PupNet is calling publish with, which are displayed to you during the pupnet build. More on arguments here:

https://github.com/kuiperzone/PupNet-Deploy?tab=readme-ov-file#dotnet-publish-arguments

Walli-DO commented 6 months ago

Got it, thanks, I'll do that. I created an AppImage, I’ll test it, just do everything via dotnet publish

Walli-DO commented 6 months ago

I found what the problem was, the files were saved in the wrong encoding (not in utf-8), but in the encoding intended for the Russian language pack, which logically should be displayed that way, but problems occur with this