http://bugs.winehq.com/show_bug.cgi?id=1324
Summary: mbtowc returns 0 erroneously Product: Wine Version: 20030219 Platform: PC OS/Version: Windows NT Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.com ReportedBy: BDavis@JadeWorld.com
Calling mbtowc to determine if text is UTF8 with an ascii string returns zero(0) as the number of character converted. A return value of zero should only occur if the data being converted was a null which is not the case.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=1324. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.