Problem - Hebrew to Gibberish - 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: Problem - Hebrew to Gibberish (
/showthread.php?tid=396864)
Problem - Hebrew to Gibberish -
benel1 - 02.12.2012
I did command changes the name and everything is good except that all that is written in a file (in Hebrew) becomes gibberish ..
How do I fix this

:S
I have this stock and I do not know how I use it :/
pawn Код:
stock fwrite_utf8 (File: handle, str [], bool: use_utf8 = false)
{
if (! handle) return 0;
new x;
while (str [x]! = EOS) fputchar (handle, str [x + +], use_utf8);
return 1;
}
** Sorry for my bad English ..
Re: Problem - Hebrew to Gibberish -
benel1 - 05.12.2012
Someone ??
Re: Problem - Hebrew to Gibberish -
[HK]Ryder[AN] - 05.12.2012
isn't utf8 supposed to be a hasher..
Re: Problem - Hebrew to Gibberish -
[HK]Ryder[AN] - 05.12.2012
Oh.
Maybe his text files are in the ANSI format and he is saving one of those things in UTF8 which might be turning it into "gibberish"