ross        2005/04/22 04:43:33 PDT

  Modified files:
    src                  char.c 
  Log:
  Use mbrtowc() instead of mbtowc(), as suggested by Ian Lynagh, so we don't
  have to read so far ahead before reporting an encoding error.
  
  Also deal with encodings that require lookahead (one byte, anyway),
  like TCVN (also spotted by Ian Lynagh) -- can't test it at the moment,
  because glibc's implementation of that encoding is broken at the moment.
  
  Revision  Changes    Path
  1.17      +53 -39    hugs98/src/char.c
_______________________________________________
Cvs-hugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-hugs

Reply via email to