ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 09 Aug 2016 21:52:05 +0200How can I change the character encoding to 7-bit?https://ask.sagemath.org/question/34351/how-can-i-change-the-character-encoding-to-7-bit/ Tired of seeing strange characters presumably representing some sort of box around areas of text.Sat, 06 Aug 2016 05:51:57 +0200https://ask.sagemath.org/question/34351/how-can-i-change-the-character-encoding-to-7-bit/Comment by tmonteil for <p>Tired of seeing strange characters presumably representing some sort of box around areas of text.</p>
https://ask.sagemath.org/question/34351/how-can-i-change-the-character-encoding-to-7-bit/?comment=34359#post-id-34359Could you please be more precise about the context ?
so that someone can try to reproduce your problem:
- which version of Sage did you use ?
- which OS ?
- did you install Sage from the binaries, and which ones ?
- did you compile Sage yourself ?
- which notebook did you use (Sage notebook or jupyter notebook) ?
- did you use the command line ?
- where does the strange characters appear ?
- ... ?Sat, 06 Aug 2016 21:49:33 +0200https://ask.sagemath.org/question/34351/how-can-i-change-the-character-encoding-to-7-bit/?comment=34359#post-id-34359Answer by slelievre for <p>Tired of seeing strange characters presumably representing some sort of box around areas of text.</p>
https://ask.sagemath.org/question/34351/how-can-i-change-the-character-encoding-to-7-bit/?answer=34389#post-id-34389I'm assuming you mean the UTF-8 banner that appears when launching
the SageMath REPL (read-eval-print loop) in the command-line:
$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 7.2, Release Date: 2016-05-15 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage:
An alternative is to launch Sage in "quiet" mode, without the banner:
$ sage -q
sage:
If you want the version number, use any of these:
$ sage -version
SageMath version 7.2, Release Date: 2016-05-15
$ sage -v
SageMath version 7.2, Release Date: 2016-05-15
$ sage -dumpversion
7.2
Note (how could one find that out by oneself?):
- `sage -h` or `sage -help` will give you the most common flags you can use.
- `sage -advanced` will give you a complete list, which includes `-q`.Tue, 09 Aug 2016 21:52:05 +0200https://ask.sagemath.org/question/34351/how-can-i-change-the-character-encoding-to-7-bit/?answer=34389#post-id-34389