Hi Minh!
On 17 Apr., 16:37, Minh Nguyen <[email protected]> wrote:
> Some files in the Sage library have character declarations. For
> example, see the following files:
>
> sage/misc/interpreter.py
> ...
Thank you!
> That works OK for me:
>
> [mv...@sage ~]$ sage
> ----------------------------------------------------------------------
> | Sage Version 4.3.5, Release Date: 2010-03-28 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
> sage: from sagenb.notebook.template import template
> sage: u = unicode('Are Gröbner bases awesome?','utf-8')
> sage: s = template(os.path.join('html', 'yes_no.html'), message=u)
> sage: 'Gröbner' in s.encode('utf-8')
> True
Interesting. First, I typed the whole thing manually, using the German
keyboard of my Windows netbook, connected to sage.math by putty. I
notice that, when entering an Umlaut, first no character is shown
until another character is entered. Then, this other character appears
*twice*. I don't know if this is part of the problem.
Secondly, I copied the lines directly from the sage references, and
pasted it in (again via putty). This time, there was no double
printing of the following character, but nevertheless, Sage crashed
again.
Best regards,
Simon
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org