Thread: Unicode
View Single Post
Old 31st March 2010, 13:11   #359
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Hi Jim, there seems to be an issue with the myatoi and myatou in the pluginapi library (and possibly the myatoi_or) too. If the plugin is built as Unicode then they all work fine but they fail to parse a valid integer for multi-byte builds. Sometimes they return 0 or they return some hideously large number (like an unsigned has been negatived). Same goes for popint().

I will probably look into fixing it myself but I'd rather you had a look. If you want me to test, let me know.

Stu
Afrow UK is offline   Reply With Quote