I wrote an implementation of text encoding/decoding for ISO*-Unicode
in Rust, available here: https://github.com/haard/rust-codecs
I use approximately the same technique as the cpython implementation,
and it works by parsing unicode.org specifications and generating Rust
source; a charmap for
I'm trying to migrate to 0.7, and failing - I was using
unicode::general_category::Cc, but since updating I cannot seem to
find it in the docs (may very well be user error), and linking fails.
Any hint's on what I should do instead?
The offending code is
if
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
FWIW, I am very much in favor of having 'proper' docstrings instead of
comment docstrings. I don't really see any upside to comment
docstrings at all...
2013/5/2 Lucian Branescu lucian.brane...@gmail.com:
Not necessarily:
#[doc=
Actual docs, free to contain almost any characters, without the
Since there are no encoding support in Rust beyond utf-8/16, I've been
toying around with str-[u8] codec generation using the
specifications from unicode.org (inspired by the cpython
implementation) as my first learning-Rust project.
I'm now at the point where I can successfully generate a
So, I take it no-one is working on codecs, is anyone interested in codecs?
I've started prototyping a solution patterned on Python (i.e. a tool to
generate specific codec modules from the specs).
/fredrik
2013/4/9 Fredrik Håård fred...@haard.se
Hi all,
is anyone working on generic (i.e. iso
2013/4/11 Kang Seonghoon some...@mearie.org
I do. See also the issue #4837 for my initial ad-hoc attempt.
The inevitable problem here is, of course, whether we should reuse the
existing iconv library or make our own.
iconv is dependent on locales on Unix / mingw on Windows I believe?
This
2013/4/11 Simon Sapin simon.sa...@exyr.org
Le 11/04/2013 16:30, Fredrik Håård a écrit :
So, I take it no-one is working on codecs, is anyone interested in codecs?
Hi,
A while ago I started implementing in Rust the WHATWG Encoding
specification:
http://encoding.spec.whatwg.**org/ http
Hi all,
is anyone working on generic (i.e. iso-*, cp*) string encoding/decoding?
I googled and looked through the wiki, but apart from the from/to_bytes and
from_to utf-16 I came up with nothing. Are there plans for what it should
look like?
Also, how come utf-16 has special treatment?
--