Jump to content
  • 0

Character encoding and locale.lua error


Vic

Question

Hello,

 

I'm just starting my first private server and I'm having a couple of issues.

 

Whenever I try to edit locale.lua and add any accentuated characters to its strings, the server throws an error on started that says something like "Incomplete string on..." and then a bunch of data dumps errors.

Apart from that, when editing the GM login announcement, accentuated characters show up as weird characters since the server doesn't recognize them (this only happens with this one message, every other announcement I make using the /n command shows up correctly).

 

I know I have to change the encoding somehow but I've spent hours googling and couldn't find anything like this.

 

I'm in a hurry right now but when I come back I'll try to upload some screenshots of the errors.

 

I'd appreciate if someone could help me. Thank you.

 

UPDATE: the locale.lua error happens whenever I make any kind of edit in the document. At first I thought It had something to do with special characters, but the original file that works fine already contains some of these.

Edited by Vic
Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.