fgetchar returning wrong data
#2

The documentation of fgetchar is a bit vague, you need to use it like that with "0, false" to disable utf8 decoding
Quote:
Originally Posted by BigETI
Посмотреть сообщение
pawn Код:
#define freadchar(%0) fgetchar(%0, 0, false)
#define fwritechar(%0,%1) fputchar(%0,(%1)&0xFF, false)
Just quoted this from his topic "Binary file I/O in PAWN"
Reply


Messages In This Thread
fgetchar returning wrong data - by Kwashiorkor - 03.07.2014, 21:45
AW: fgetchar returning wrong data - by Nero_3D - 06.07.2014, 16:43
AW: fgetchar returning wrong data - by Kwashiorkor - 06.07.2014, 18:27
AW: fgetchar returning wrong data - by Nero_3D - 07.07.2014, 09:34

Forum Jump:


Users browsing this thread: 1 Guest(s)