Questions about character encoding and decoding. This includes, but is not restricted to, conversion of characters to their numerical value in a character table and vice versa and conversion of characters to strings and vice versa.
0
votes
1answer
57 views
Workaround for automatic replacement of “\r” to “\n”
When I run the following code in an empty notebook
SetOptions[EvaluationNotebook[], testOption -> "\n\r"]
and then open the notebook in Notepad, I find
...
4
votes
1answer
70 views
Change character encoding for file read using OpenRead
I have a large bzipped file that I want to read using OpenRead on a pipe with UTF8 encoding. Doing the following does not give me UTF8 encoding. My ...
3
votes
1answer
69 views
Key Mapping in Command Line Mode
I would like to map Ctrl-U to "kill line" when using Mathematica 9.0 in command line mode (i.e. not within the front end, but when called from a Unix command line by "math").
I am aware that (on a ...
1
vote
0answers
65 views
Errors importing UTF8 file to mathematica
I'm trying to import this file:
Import["https://dl.dropboxusercontent.com/u/35192406/jarlaxxe_tweets.\
csv", CharacterEncoding -> "UTF8"]
But I am getting ...
0
votes
0answers
43 views
Import a UTF16 encoded file [duplicate]
Is it possible to import a UTF-16 encoded file to Mathematica 9.0?
I have tried with UTF-8 encoding but I get erros and I have read that it is buggy ...
5
votes
1answer
104 views
Importing Data with Line feeds
I am trying to import data from a CSV file into Mathematica that contains line feeds in certain elements that I wish to be properly rendered in Mathematica. I suppose this has something to do with the ...
13
votes
2answers
222 views
Problem importing URL with Greek characters
I'm considering buying a car. So I thought why not make a web-crawler in Mathematica to pile-up car data? Brilliant idea.
Then I found this Greek website, gocar.gr, which just so happens to have all ...
6
votes
2answers
166 views
Convert quoted printable aka PrintableASCII characters to UTF-8
I have several .eml email files to import. Some of them were saved as quoted-printable 7-bit encoded.
I skipped through the Mathematica documentation and found ...
3
votes
1answer
88 views
String encoding issue with Pythonika
I use Mathematica and Pythonika to run Python code inside it. And I'm not quite sure what causes my issue: all unicode Python objects look like this: ...
11
votes
2answers
192 views
How to generate characters by a function which works like the Esc + a + ESC
How to generate characters by a function which works like the Esc + a + ESC
...
1
vote
0answers
125 views
CharacterEncoding failed when Import or Export as pdf
folowing is the content my test nb File: pdfTest.nb, contain some chinese characters:
SampleCode1:pdf输入不正常。
After Save as or Export, pdf file looks well for the ...
0
votes
0answers
186 views
Export to pdf from Mathematica using Greek characters
When I try to export Greek characters from Mathematica to a pdf file, the pdf is filled with unknown characters. Please note that i have no idea about Mathematica, I have just installed it today.I am ...
2
votes
0answers
125 views
Font Issues: “Like Resource 58” error
I'm running Mathematica 9.0.0 on a Macbook Air with OSX 10.6.8 and I've recently started having issues with the font in the program. All special characters are being replaced with other characters in ...
4
votes
4answers
124 views
Make a slider controlling a generated character's code value
If I execute the following code:
char = 97;
Slider[Dynamic@ToExpression@FromCharacterCode@char, {0, 5}]
the slider will fail to change the value of ...
6
votes
2answers
417 views
Light syntax parser for Mathematica?
My netbook is too slow to install Mathematica. I'm not set against working in a text editor, but I like having an automated highlighting/formatting environment; can anyone recommend a good gedit ...