AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Translations encoding (https://forums.alliedmods.net/showthread.php?t=181513)

Jje 03-30-2012 05:38

Translations encoding
 
Hi guys! I have a problem with encoding. I tried to save plugin with cyrillic encoding in UTF8, cp1251(cyrillic), but compiler returns errors or if plugin has successfully compiled cyrillic sybmbols don't appear, instead them there are spaces. Which encoding plug-ins need to save?
P.S Sry for my bad English :(

Arkshine 03-30-2012 05:57

Re: Translations encoding
 
UTF-8 without BOM and don't use AMXX Studio to compile. Drag and drop directly the .sma on compile.exe.

Jje 03-30-2012 06:51

Re: Translations encoding
 
I saved plugins in Utf-8 without BOM and compile it with compile.exe ! Maybe I'm doing something wrong:
i edit the source in Notepad++, select all the code and lick convert to utf-8 (without BOM). then compile it with compile.exe. When I put in on server, cyrillic symbols don't appear! When i use online compiler, everything appears normal. Maybe I should use another text editor? What you can advise?

.Dare Devil. 03-30-2012 12:46

Re: Translations encoding
 
Quote:

Originally Posted by Jje (Post 1678507)
I saved plugins in Utf-8 without BOM and compile it with compile.exe ! Maybe I'm doing something wrong:
i edit the source in Notepad++, select all the code and lick convert to utf-8 (without BOM). then compile it with compile.exe. When I put in on server, cyrillic symbols don't appear! When i use online compiler, everything appears normal. Maybe I should use another text editor? What you can advise?

Some unicodes can not be show in Hl engine.
There are so small font.

fysiks 03-30-2012 20:00

Re: Translations encoding
 
Notepad++ is not at fault here.


All times are GMT -4. The time now is 16:51.

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