Sublime 3 - Charset problem
#1

Hi guys,
For a long time I have this problem. I'm using Sublime TE 3(portable x64) on Windows 10 Pro x64 for my activities in PAWN. So problem is in charset, I'm from Croatia and I'm using localized letters(čćћљđ) in my script. Currect charset is UTF8(without BOM) and all letters are readable in raw file(.pwn/.inc) but when I compile UTF8 text and connect to localhost, instead čćћљđ I see some unreadable letters.
I tried with Windows 1250 charset(Central Europe) and when I try to save file I got error message from Sublime which says it can't save file because there's some letter which doesn't exist in Windows 1250(but exist in UTF8?).
Does anybody knows how to save file with localized letters? Thanks guys !

@ I tried with UTF16-LE but after compile I have this errors

Код:
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(0) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(2) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(3) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(4) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(5) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(6) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(7) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(8) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(9) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(10) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(11) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(12) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(13) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(14) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(15) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(16) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(17) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(18) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(19) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(20) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(21) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(22) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(23) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(24) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(25) : error 075: input line too long (after substitutions)
E:\Silvio\Projekti\Pawn\GameModovi\Od nula\Haswell RolePlay\gamemodes\HRP.pwn(26) : error 075: input line too long (after substitutions)
Code is

Код:
/*

- INFO:

- Game mode By: Kalibar .300 uz savjetovanje Joeya_
- Game mode u izradi od 05. kolovoza 2014. godine
- Trenutna inačica Game moda: v0.0.115.20151101 (IWII EARLY ACCESS)
- Zadnje aћuriranje: 1. studenog 2015. godine



- NAPOMENE:

- Sve љto je označeno s ''Uskoro'' će biti uskoro dovrљeno.

*/


// GLAVNI INCLUDEOVI
#include 															<a_samp>
#include 															<crashdetect>

	
// ****** ZBIRKA
#include															<YSI\y_timers>
#include 															<YSI\y_va>
Below y_va is y_hooks

@@ After I saved it in Windows 1250, I tried to compile but it won't so I need to close pawncc.exe with task manager.
After I closed pawncc.exe I reopened .pwn file and some letters are become unreadalbe signs.
Reply
#2

Fixed.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)