SA-MP Forums Archive
UTF-8 signs from Sublime won't compile - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: UTF-8 signs from Sublime won't compile (/showthread.php?tid=593379)



UTF-8 signs from Sublime won't compile - vannesenn - 04.11.2015

Hi there guys,
I use Sublime Text Editor 3(portable for x64 OS on Windows 10 Pro) and for a long time I have problems with words in which I use UTF-8 signs. I'm from Croatia so sometimes I use č, ć, ћ, љ and đ in game mode(not in include. I know that includes don't support UTF-. Sublime writes it with no problems(in source I see normal letters) but when I compile script and when I see message on server, I don't see letters which I wrote before, I see some "unreadable" letters but when I open chatlog(.txt file in documents) I see letters which I wrote in script.
I've choosen File -> Save with encoding -> UTF-8 (without BOM) and after that I still have problems with compile. In Notepad++ and Pawno I didn't have problems with UTF-8 letters... How to fix problem(s) in Sublime TE 3? Thanks guys!


Re: UTF-8 signs from Sublime won't compile - vannesenn - 07.11.2015

Anybody? I thought here I can find help... :/