SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 22/10/2019, 04:26 PM   #1
Proxus
Huge Clucker
 
Proxus's Avatar
 
Join Date: May 2018
Location: United Kingdom
Posts: 363
Reputation: 17
Default Russian Language Help

I'm trying to incorporate Russian into my server.
However, when I use Russian language (it's the weird symbols), it comes out as random characters.

It looks something like this: Audf *D&^ SD
(not exactly but pretty accurate)

How can I avoid this?
__________________
Developer @ Trucknation
Administrator & Developer @ Lost Legacy
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity"


IMPORTANT LINKS
Proxus is offline   Reply With Quote
Old 22/10/2019, 05:34 PM   #2
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,070
Reputation: 188
Default Re: Russian Language Help

Not sure 100% but i think saving/opening file as UTF-8 should do the trick...
__________________
Looking for someone to start drifting server, drop me a pm if you are interested.


Any PM's that include question about any kind of help will be ignored.
Use appropriate boards for that
DRIFT_HUNTER is offline   Reply With Quote
Old 22/10/2019, 06:04 PM   #3
Proxus
Huge Clucker
 
Proxus's Avatar
 
Join Date: May 2018
Location: United Kingdom
Posts: 363
Reputation: 17
Default Re: Russian Language Help

My includes are already encoded in UTF-8

EDIT: I also tried changing my encoding on my include:
Привет = message I was trying to send
Encoded with: Cyrillic ISO 8859-5

Showed to player: (characters like o, e and a with accents, etc)

Is this right or wrong?
__________________
Developer @ Trucknation
Administrator & Developer @ Lost Legacy
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity"


IMPORTANT LINKS
Proxus is offline   Reply With Quote
Old 27/10/2019, 12:48 AM   #4
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,230
Reputation: 993
Default Re: Russian Language Help

The player must have the correct Windows system language setting to show these characters.

https://forum.sa-mp.com/showpost.php...28&postcount=3
__________________
Click banner above for more info. View trailers here.
Enter referral code SAMPFORUM after registering for a $5000 starting bonus!
MP2 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Russian language x3378 Scripting Help 1 05/09/2015 07:06 PM
[Include] [INC] Russian GameText + Russian Language for GTA-SA [Saint] Релизы/Releases 20 10/02/2015 12:24 PM
russian language Neonwalker General 4 07/05/2012 01:15 AM
Russian language encoding Mattjones17 Client Support 2 16/02/2011 12:23 PM


All times are GMT. The time now is 03:54 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.