Fix CharacterDataMethods to count UTF-16 code units, not code points.

This commit is contained in:
Simon Sapin 2015-07-30 18:43:02 +02:00
parent 95a252a650
commit 006dd1002f
2 changed files with 67 additions and 28 deletions

View file

@ -18,12 +18,14 @@
#![feature(drain)]
#![feature(fnbox)]
#![feature(hashmap_hasher)]
#![feature(iter_arith)]
#![feature(mpsc_select)]
#![feature(nonzero)]
#![feature(plugin)]
#![feature(ref_slice)]
#![feature(rc_unique)]
#![feature(slice_patterns)]
#![feature(str_split_at)]
#![feature(str_utf16)]
#![feature(unicode)]
#![feature(vec_push_all)]