Tagged Questions
2
votes
1answer
491 views
file, awk and iconv to automatically adapt tex-file encoding
I have a set of tex-files with mixed encodings, e.g. (subset of output of file -i *.tex)
f1.tex: text/plain; charset=utf-8
f2.tex: text/plain; charset=utf-8
f3.tex: text/x-tex; charset=us-ascii
...
3
votes
4answers
1k views
How do I re-encode a mixed encoded text file
I've got a log file that is ASCII, except for a few UTF-8 characters (which I can fix for a future version).
For the moment, I need to figure out how to get this file to a ...
2
votes
1answer
161 views
XML text file with `^@` characters in it?
I have an XML file that I need to parse. When I open it in nano, nano give me the message (converted from Mac format). However between each character, there is a ^@ sequence, like so:
^@t^@h^@e^@ ...
3
votes
4answers
1k views
How to convert to HTML code?
Are there any scripts that can convert between text (e.g. <hi>) and the html entities version (<hi>) like this website does? Or at least a PHP file?
1
vote
2answers
2k views
Converting text into ASCII/ISO-8859-1
I'm looking for some tool that can convert text, ideally from UTF-8 (but ISO-8859-2 and WINDOWS-1250 would be fine) into ASCII/ISO-8859-1?
I have seen some online transliteration tools but I need ...