Alex Henrie alexhenrie24@gmail.com wrote:
I came back to the problem of UTF-7 support and made some improvements to my previous submission. The tests are now more stringent, especially in regard to null terminator checking, and they test the srclen parameter more thoroughly now as well.
I also noticed that a related test for error checking was marked todo_wine. The fix was trivial and is included as a fourth patch.
Please let me know what you think. I'm willing to put some more effort into this.
Why don't you put it in libs/wine where other unicode conversion routines are implemented? Also you probably need to add support for composition/ surrogates like other implementations do.