Broken handling of non-ASCII characters in SQL queries #4

Merged
merged 1 commit into from Apr 18, 2012
Commits on Apr 17, 2012
  1. @cederberg

    Fixed a bunch of broken string iteration code.

    cederberg committed Apr 17, 2012
    The assumption that 1 char == 1 byte is incorrect for UTF-8 strings. Hence all iteration should
    be performed on proper Java characters, not UTF-8 bytes. This seems to be broken in several
    places in the project.