Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The GUI size is wrong and cannot be resized #4

Closed
calanchue opened this issue Apr 7, 2018 · 6 comments
Closed

The GUI size is wrong and cannot be resized #4

calanchue opened this issue Apr 7, 2018 · 6 comments

Comments

@calanchue
Copy link

CYBUTEK#146

Actually this issue comes form original KER branch. But It seems that original KER branch doesn't work any more, so I politely request this problem in here. If you have a little time, please look around this. This one is really serious problem for some language users.
Above issue suggest that i can solve it by changing encoding with hands. But KER overwrite xml file, so it isn't solution.
This issue is related to language encoding problem. Therefore you can't reproduce bug. If you send me file, i will gladly test it for you. please send file to calanchue at gmail.com

Thank for advance

@jrbudda
Copy link
Owner

jrbudda commented Apr 7, 2018

This should be easy to solve, just have to force the XMLSerializer to use utf-8

@calanchue
Copy link
Author

Thank you! I hope this will be soon resolved in next version. This will be really big help for other language users in KSP!

@jrbudda
Copy link
Owner

jrbudda commented Apr 7, 2018

See if this solves your problem, you may need to delete all the xml files first, it should now create them as utf8.

KerbalEngineer.zip

@calanchue
Copy link
Author

calanchue commented Apr 8, 2018

sadly, the KER you uploaded has other bug. After once launching it(you have to launch ksp twice, first launch is fine), I have experienced same gui issue. It seems that the bug comes from wiped setting file contents. After launching ksp and editing some contents in KER, All xml files in 'settings' folder in KER have same contents below.

<?xml version="1.0" encoding="utf - 8"?><ArrayOfSettingItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

In other words, this version of KER removed all xml contents except encoding. Maybe you can reproduce it.

@jrbudda
Copy link
Owner

jrbudda commented Apr 8, 2018

Hmm OK. Can you get the KSP.log file for the 'first' run with a new install? Maybe there is an error message that occurs when it is saving the files. I do not get blank files on my machine, they look fine to me.

What language is your Windows set to? Maybe I can reproduce it that way.

@calanchue
Copy link
Author

calanchue commented Apr 9, 2018

Sorry, That was my own fault. your uploaded version is totally fine!
Cause was my own mods which intend to fix the problem from outside of KER.

Thank you for your help. maybe you saved a lot out people out there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants