Re: [rust-dev] Proposal for string encodings

2013-07-08 Thread Fredrik Håård
I've written a charmap/reverse mapping generator using unicode.org specs for standard encodings, and was intending to follow up with creating convenient interfaces before other things got in the way. I'll clean it up and make it compile with current version and put it on github. What I do is I

[rust-dev] Proposal for string encodings

2013-07-06 Thread Kevin Ballard
I've been thinking about string encoding support lately, and the approach I've decided to experiment with is representing a string encoding as a pair of external Iterators. The encoder is an Iteratoru8 that consumes an Iteratorchar, and the decoder is an Iteratorchar that consumes an Iteratoru8. A