SA-MP Forums Archive
How can i read thai in .log 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)
+--- Thread: How can i read thai in .log file (/showthread.php?tid=313977)



[Need Help] How can i read thai in .log file - xinix000 - 28.01.2012

ANTICHEAT: ยตรฉรЌยงรЉยงรЉร‘ร‚ร‡รจร’ [10]zen_bam รฃยชรฉยคร‡ร’รЃร*รѓรงร‡ 1867 mph ยตรจรЌ 1 ร‡ร”ยนร’ยทร•
ANTICHEAT: ยตรฉรЌยงรЉยงรЉร‘ร‚ร‡รจร’ [10]zen_bam รฃยชรฉยคร‡ร’รЃร*รѓรงร‡ 743 mph ยตรจรЌ 1 ร‡ร”ยนร’ยทร•
ANTICHEAT: ยตรฉรЌยงรЉยงรЉร‘ร‚ร‡รจร’ [10]zen_bam รฃยชรฉยคร‡ร’รЃร*รѓรงร‡ 563 mph ยตรจรЌ 1 ร‡ร”ยนร’ยทร•
ANTICHEAT: ยตรฉรЌยงรЉยงรЉร‘ร‚ร‡รจร’ [10]zen_bam รฃยชรฉยคร‡ร’รЃร*รѓรงร‡ 418 mph ยตรจรЌ 1 ร‡ร”ยนร’ยทร•


When i open .log file in scriptfiles folder i can't read but when use command printf in server_log.txt it can read thai


Re: How can i read thai in .log file - arjanforgames - 28.01.2012

You are using dini? to write text to file?


Re: How can i read thai in .log file - xinix000 - 28.01.2012

pawn Код:
public TrueLog(string[])
{
  new entry[256];
  format(entry, sizeof(entry), "%s\n",string);
  new File:hFile;
  hFile = fopen("true.log", io_append);
  fwrite(hFile, entry);
  fclose(hFile);
}
Here is the code


Re: How can i read thai in .log file - xinix000 - 28.01.2012

anyone can help ??