SA-MP Forums Archive
[HELP] I Can't Save Thai Language In File - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] I Can't Save Thai Language In File (/showthread.php?tid=139470)



[HELP] I Can't Save Thai Language In File - tiwter1995 - 05.04.2010

Код:
public ChatLog(const string[])
{
  new year, month,day;
	getdate(year, month, day);
	new curHour, curMinute, curSecond;
	gettime(curHour, curMinute, curSecond);
	new entry[256];
	new sfile[256];
	format(entry, sizeof(entry), "(%d/%d/%d)%s\n", curHour, curMinute, curSecond, string);
	format(sfile, sizeof(sfile), "chat/Chat[%d-%d-%d].log", day, month, year);
	new File:hFile;
	hFile = fopen(sfile, io_append);
	fwrite(hFile, entry);
	fclose(hFile);
}
And Text In File
Код:
(12/31/8)Lucis_Caelam: вЛЕж(12/31/55)Lucis_Caelam: ...(12/32/44)(аґзЎгЛБи) Lucis_Caelam(0): ... )(12/34/10)* Lucis_Caelam ...
(12/34/34)* Lucis_Caelam аЗГ
And What I Do Line spacing In File
Help me please


Re: [HELP] I Can't Save Thai Language In File - [HiC]TheKiller - 05.04.2010

There was a thread about Hebrew writing, it should work for your situation too.

Search.


Re: [HELP] I Can't Save Thai Language In File - MahmutBey - 05.04.2010

Methinks only use english character.