FIX z_string:s_utf8/2 #439

merged 1 commit into from Oct 9, 2012
Commits on Oct 5, 2012
  1. FIX z_string:s_utf8/2

    motiejus committed Oct 5, 2012
    Current checker does not validate that codepoints are within allowed
    range. For instance, this encodes U-00000, but passes the current
    validator: <<2#110:3, 0:5, 2#10:2, 0:6>>. (<<16#C080>>).
    New checker takes into account both utf8 syntax and allowed values that
    certain length codepoints can encode.