Raised This Month: $ Target: $400
 0% 

[Problem] Texts on russian


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mrAbstract
Junior Member
Join Date: Feb 2008
Old 02-21-2008 , 06:40   [Problem] Texts on russian
Reply With Quote #1

Hello everyone.
A little problem, i can't use russian texts directly in source-code.
Example
Code:
PrintToChat(client, "\x01\x04[Тест] Test");
In game it will be: [] Test.
I tried to change source codepage before compile (in pawn studio).
To UTF-8, Russian, Cyrillic, ANSI...But this is not helped me.
I had same problem in mattie event scripts, where changing of codepage solves the problem. But not here...=\
Why? What's wrong?

p.s i don't wanna use translations, cuz i'm making one-language plugins for my team
Or this is unique way to solve problem?
mrAbstract is offline
BAILOPAN
Join Date: Jan 2004
Old 02-21-2008 , 09:30   Re: [Problem] Texts on russian
Reply With Quote #2

The compiler can read UTF-8 files as long as you don't save them in an editor that adds BOM to the beginning. (You could file a feature request to change this.)

Language translation files will work fine.
__________________
egg
BAILOPAN is offline
mrAbstract
Junior Member
Join Date: Feb 2008
Old 02-22-2008 , 05:04   Re: [Problem] Texts on russian
Reply With Quote #3

Yea, indeed. FF FE at beginning...=\
So what i should do? Request feature?

// BTW Temp.Solution gives "UltraEdit", he have option "UTF-8 NO-BOM". ^^

Last edited by mrAbstract; 02-22-2008 at 05:06.
mrAbstract is offline
raydan
Senior Member
Join Date: Aug 2006
Old 02-22-2008 , 06:25   Re: [Problem] Texts on russian
Reply With Quote #4

download a "EmEditor" to edit the file, then save as "UTF-8" format and don't click (BOM). it should be work
raydan is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 18:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode