[MPlayer-cvslog] r32918 - trunk/gui/skin/font.c

Nicolas George nicolas.george at normalesup.org
Thu Feb 17 12:47:05 CET 2011


Le nonidi 29 pluviôse, an CCXIX, Ingo Brückl a écrit :
> RFC 3629 restricts UTF-8 to four bytes, doesn't it?

g_utf8_next_char does not implement RFC 3629 but the full range of 31-bit
UTF-8.

> As I'm using strncmp(), it's safe.

Indeed. Except that the size of the array is duplicated, which is never a
good idea.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20110217/4544cc71/attachment-0001.pgp>


More information about the MPlayer-cvslog mailing list