In the recent days we (Carl Friedrich, Anto and me) implemented native unicode support for RPython. This means that now you can write u'xxxx' directly in your RPython program, as well as unicode(some_string_variable) and most of the unicode methods should work as well. The things that don't work, are operations that require the unicode database (such as .upper() and friends) and encodings (unicode(x, encoding) for example). Right now our python interpreter does not use this at all, but that's the next step.
Cheers,
fijal
Friday, November 9, 2007
Unicode support in RPython
In the recent days we (Carl Friedrich, Anto and me) implemented native unicode support for RPython. This means that now you can write u'xxxx' directly in your RPython program, as well as unicode(some_string_variable) and most of the unicode methods should work as well. The things that don't work, are operations that require the unicode database (such as .upper() and friends) and encodings (unicode(x, encoding) for example). Right now our python interpreter does not use this at all, but that's the next step.
Cheers,
fijal
Cheers,
fijal
Unicode support in RPython
Subscribe to:
Post Comments (Atom)
3 comments:
Hi there,
It would be nice for the pypy site to mention this blog, or update the news section.
I stumbled here from reading the ML.
BTW: for when a new release?
Hi Miguel,
the blog is still somewhat unofficial so I don't want to give it completely official status by linking it from the PyPy page. But I guess a news item makes sense.
There are no release-plans, we will discuss it next week on the sprint.
Cheers,
Carl Friedrich
The blog is now official and posted
on the PyPy website. The plan is to
use it as the main channel for
updates on what is happening.
Jacob
Post a Comment