Answer the question
In order to leave comments, you need to log in
How to change the encoding and open the file?
Hello!!!
I downloaded a web page using this Ubuntu terminal command: wget http://www.bash.im/random
.
Saved in the home directory. Using the following command: cat random
I tried to open the file, but instead my terminal displayed only the HTML tags that this page contained and the Russian alphabet characters were replaced with white squares:
Question-what to do? How can I open this in the terminal a wonderful file without tags and with readable Russian characters?
PS Thank you in advance!!!
Answer the question
In order to leave comments, you need to log in
Open the file in a browser - it will open without tags and (most likely) in normal language (Russian)
What do you mean "without tags"? Mb lynx try? Locales like html_HTML.UTF-8 don't exist.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question