mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
207 stars 44 forks source link

Need help #90

Closed ucraft02 closed 6 years ago

ucraft02 commented 6 years ago

Why I can't save file in utf-9 format??? When I use mark2 is in ANSI if I start server in sreen It work in UTF-8? Can I change start.sh I need to start with that

while true do java -Xmx4000m -Dfile.encoding=UTF-8 -jar Skyblock.jar echo "Use control + C or it will start again the server." sleep 5 done

ucraft02 commented 6 years ago

I can't change file from ANIS to UTF-8

thomas15v commented 6 years ago

Use notepad++, atom, nano, vim, ... . as your editor. In notepad++ you can even convert files to UTF-8.

(Why do you need UTF-9 tho?)

ucraft02 commented 6 years ago

I want to have symbols in some plugins and I convert in utf-8 with notpad++ and when I ~restart server convert it back to ANSI

ucraft02 commented 6 years ago

Can you tell how can I fixx it to save file in UTF-8??please

thomas15v commented 6 years ago

I am not sure what the problem might be. You might wanna rewrite the file using nano(or vim) on the server instead or check out some mods that might do weird stuff (I have seen that before).

Also you can check the encoding of a file with file -bi <file_name>. Validate that the file gets written in the correct encoding and check if the server is converting those.

One thing is sure, this issue is not related to mark2 😉.

ucraft02 commented 6 years ago

I start server in screen and work with utf-8.Than I start it on mark2 and convert it to ANSI and symbols don't work anymore

ucraft02 commented 6 years ago

please help

gsand commented 6 years ago

Use an editor that allows you to use Unicode line endings.