Questions tagged [ansi]
The ansi tag has no usage guidance.
15
questions
65
votes
8
answers
79k
views
Windows console with ANSI colors handling
Is there any console emulator for Windows that interprets ANSI coloring?
We use rspec and a part of our team use Windows and the special string for coloring are not very useful for them ;).
23
votes
2
answers
121k
views
Changing the default ANSI to UTF-8 in Notepad
I got an e-book reader a few months ago, and I finally figured out why it doesn't display .txt files correctly. It doesn't like ANSI. It has no problem with the other 3 types of coding notepad ...
35
votes
1
answer
149k
views
ANSI to UTF-8 in Notepad++
I have a text encoded in ANSI:
When I tried to convert it into UTF-8 (using the Notepad++ menu Encoding > UTF-8), I get some weird characters:
I thought that UTF-8 was a superset of ANSI and that I ...
12
votes
4
answers
32k
views
How do I get excel to not mess around with the formatting of a .csv file
I have two issues with a csv file that occur when I try and edit it in Excel.
I have an ISBN column that gets reformatted to scientific format every time I save the file
The encoding for the file is ...
28
votes
4
answers
10k
views
Escape non-printing characters in a function for a Bash prompt
In a Bash Prompt (PS1 variable), I'm calling a function to potentially add text to the prompt: export PS1="\u@\h \$(my_function) \$ "
However, the function in the prompt contains ANSI color codes ...
10
votes
2
answers
70k
views
Why does [ALT+224] return Ó instead of alpha?
I'm on WIN 7. I found that windows is using ANSI, not ASCII. So when I type ALT + 224 i get Ó, instead of α. To get α I have to manually copy it from the windows character map every time I want to use ...
3
votes
1
answer
9k
views
My text file is riddled with question marks. How can I make it readable?
When I open one of my text files in Visual Studio Code,
the text contains a lot of question marks where I had expected to see
Swedish letters, such as å, ä, ö :
^ click to enlarge
Down to the right (...
2
votes
2
answers
35k
views
Convert a text file from ansi to UTF-8 in windows batch scripting
We have a text file which is in default ANSI format and that needs to be converted into UTF-8 format. Is there any way we can use the general windows DOS commands to convert the file? We can use the ...
35
votes
6
answers
41k
views
How can I change the colors of my xterm using Ansi escape sequences?
I would like to change the colors (background, font, foreground) of my xterm from the commandline. I've heard that this can be done using ANSI escape sequences.
If this is possible:
How is it done?
...
19
votes
4
answers
6k
views
Terminal that supports the ANSI italic escape code?
I would like to replace GVim with Vim in the terminal. One of the nice things about GVim is that it is able to display text using italics.
Vim allows setting an ANSI escape code for italics (\e[3m), ...
16
votes
2
answers
74k
views
Is it possible to change the default encoding in notepad? [duplicate]
On windows 7 (x64), the default option, for saving text files in notepad is ANSI.
One can select other encoding from the combo box, however, I'd like this option to be the default.
8
votes
3
answers
2k
views
How to set Notepad2 to use UTF-8 instead of ANSI
Each time I create a new file in Notepad2, the encoding is ANSI (1252).
I'd like instead to have UTF-8 as default. Is there a way to get this ?
5
votes
2
answers
19k
views
What is the difference between Windows-1252 and ANSI encoding?
I'm trying to convert UTF-8 to ANSI encoding through a tool.
But it shows Western European (Windows)-1252 instead of ANSI.
Are they both the same thing? Should I go ahead with this?
2
votes
1
answer
3k
views
Stop VS Code from auto guessing encoding
I use VS Code to make a German site.
I use a German special character in a style.css file.
After restarting VS Code and changing the file encoding from UTF-8 to
Windows-1252, I get what is shown in ...
0
votes
2
answers
4k
views
Sending correct escape sequences in terminal
Issue
To scroll a few lines up in WeeChat one is supposed to press <Alt> + <PgUp>. When I press these keys, the program thinks I'm pressing <Alt> + , instead.
Debugging
In my ...