Re: Linguistically correct Python text rendering

From: Mike Maxwell (maxwell_at_ldc.upenn.edu)
Date: 02/24/04


Date: Tue, 24 Feb 2004 09:44:35 -0500
To: python-list@python.org

David Opstad wrote:
> my question is this: how do we get this functionality integrated into
> Python? I'd love to be able to print any Unicode string and have it
> come out linguistically correctly

Isn't this a function of whatever app you're running Python code inside (a
terminal or something)? E.g. could you take the output of your Python
program as a file and display it in Yudit or a Pango app?

    Mike Maxwell



Relevant Pages

  • Re: Unicode Hell
    ... > Error Type: ... Unicode string, Python assumes that the second string contains only ...
    (comp.lang.python)
  • decode unicode string using unicode_escape codecs
    ... I have some unicode string with some characters encode using python notation like '\n' for LF. ... Note that both encoded and decoded are unicode string. ... I'm trying to use the builtin codec because I assume it has better performance that for me to write pure Python decoding. ... First the parser decodes the bytes into an unicode string with UTF-8 encoding. ...
    (comp.lang.python)
  • Re: a question about unicode in python
    ... # s is a unicode string, ... UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: ... by in python interactive, it is right ... which looks for me as the mail editor did ...
    (comp.lang.python)
  • Re: Python syntax in Lisp and Scheme
    ... The link you gave is to an Apple API for internationalization. ... Python unicode data can be passed directly to the API. ... manipulate the unicode string, and so long as the correct translations ...
    (comp.lang.lisp)
  • Re: Python syntax in Lisp and Scheme
    ... The link you gave is to an Apple API for internationalization. ... Python unicode data can be passed directly to the API. ... manipulate the unicode string, and so long as the correct translations ...
    (comp.lang.python)