This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bytes2chars() conversion to fail if target byte offset is not on the …
…character boundary; ref #3067 that means String#index matches first byte of a multi-byte character. this behavior is different from CRuby, but a compromise for mruby which does not have encoding stuffs.
- Loading branch information
Showing 1 changed file with 6 additions and 1 deletion.