Questions tagged [unicode]

Questions on the interaction of Mathematica and Unicode characters/glyphs.

Filter by
Sorted by
Tagged with
4 votes
1 answer
97 views

Unexpected behavior: missing characters in the code page 936

In the CP936.m file which will be loaded by Internal`LoadEncodingFile@"CP936"; there are 21674 characters, while the ...
user avatar
  • 1,463
2 votes
0 answers
88 views

Is the fancy script 'C' $\mathscr{C}$ available in Mathematica?

In mathjax \mathscr{C} gives me the character $\mathscr{C}$ that I want. There is a UTF listing for this character. https://www.compart.com/en/unicode/U+1D49E If I copy form this webpage and paste ...
user avatar
3 votes
0 answers
60 views

Why is `$SystemCharacterEncoding` different from the actual OS character encoding on Windows?

I was testing on Windows the command $ wolframscript -code 'Alphabet["Greek"]' -charset UTF8 from the document of ...
user avatar
  • 648
5 votes
1 answer
155 views

Embed a rose flower image in 3D space with axes labeled in UTF8

I am trying to create an image in which a rose flower image in a 3D space with axes labeled in UTF8! Labels don't render correctly and not sure how to put the image at say the original of XYZ space. <...
user avatar
  • 151
2 votes
0 answers
46 views

How to copy and paste special characters out of Mathematica [duplicate]

I'm doing a bit of string manipulation, and the output has Greek characters in it. I want to be able to copy and paste those Greek characters out of Mathematica and into another file. For example, ...
user avatar
  • 135
7 votes
0 answers
149 views

Export Latin Modern Math Greek: spurious spacing on Windows

Bug introduced in 12.0.0 or earlier on Windows [CASE:4549185] To get simple LaTeX Greek in my figures, I am using U+1D6FC MATHEMATICAL ITALIC SMALL ALPHA to ...
user avatar
  • 1,215
15 votes
1 answer
411 views

Wrong function of NotebookDirectory[] in the 12.1 version

Bug introduced in 12.1.0 and fixed in 12.2.0 (or 12.1.1?) Could anybody help? NotebookDirectory[] function began working wrong in 12.1 (the bug was not present in ...
user avatar
  • 151
2 votes
0 answers
165 views

Missing Unicode support on Windows FrontEnd

Does Mathematica FrontEnd still not support all the Unicode characters in version 12? I am using version 12 on Windows 10 and can't get character ↳ (U+21b3). It fails to print using ...
user avatar
  • 8,105
6 votes
0 answers
155 views

Problem with my user name

I'm trying to use the new website ("Wolfram Function Repository") and i get the following error: ...
user avatar
  • 403
1 vote
1 answer
172 views

How to encode the character into UTF-8?

As we know the café is caf\xc3\xa9 after encode by UTF8: >>> 'café'.encode('utf8') ...
user avatar
  • 23.4k
2 votes
1 answer
203 views

How I can get glyphs from a fraktur font and use them as identifiers?

I would like to use the fraktur-S ($\LaTeX$: \mathfrak{S} $\mathfrak{S}$; Unicode: "U+1D516" 𝔖) as a variable name in Mathematica, but pasting the Unicode ...
user avatar
  • 135
5 votes
0 answers
81 views

Nonacceptance by StackExchange site of Mathematica TeXForm employing \unicode

When I apply the Mathematica command TeXForm to ...
user avatar
2 votes
1 answer
182 views

how to get unicode for tally mark in mathematica

People are saying u1D378 is the unicode for https://upload.wikimedia.org/wikipedia/commons/1/1d/Tally_marks-Five-bar_Gate.svg How do i create such a tally mark character in mathematica front end. If ...
user avatar
  • 8,105
2 votes
1 answer
89 views

How to write single slash in string programmatically

Consider the function: unicode[numericLetters_List]:=StringJoin@Reverse@Cases[numericLetters,x_:>If[x!=" ","\:"<>x,x]]; now ...
user avatar
  • 8,105
2 votes
0 answers
94 views

How to do long space in Mathematica 11.3

In some previous versions of Mathematica under Windows 10 you could type \:2003 and a long space (Unicode em space character) appeared, e.g. inside a text cell. This does not seem to work in version ...
user avatar
3 votes
0 answers
78 views

Match Polish letters

I am quite confused about the following cases, in Mathematica 9.0.1.0: LetterQ["ł"] StringMatchQ["ł", WordCharacter ..] The first case gives ...
user avatar
6 votes
1 answer
95 views

Exporting/Saving Notebook with Non English characters to PDF

On a related question, I now have another problem with saving notebook to PDF. OS: Windows 7 SP1 English Ultimate MMA: 11.3 X64 The Chinese characters displays ...
user avatar
3 votes
2 answers
137 views

Importing from an API that has non UTF-8 strings

I am new to both Mathematica and API's. I am trying to access a dictionary of player-ids to names from the website datdota.com, but some of them have chinese characters. relevant code: ...
user avatar
3 votes
2 answers
320 views

Import text outlines from PDF format properly

Bug introduced in 10.0 and persisting through 12.0 I am attempting to implement this: How can I wrap text around a circle? But I need Unicode support. Unfortunately, in my case, this gives a broken ...
user avatar
1 vote
1 answer
516 views

How to type these Unicode characters or make my own character?

How can I type the following characters without copying and pasting them from the web? Perhaps define them as a character myself? Also, they are not displayed properly when pasted in a code cell but ...
user avatar
  • 1,783
2 votes
1 answer
64 views

Getting all Unicode input forms with a certain property

I want to find all of the Unicode input forms with a certain property, (say, the Unicode input forms for infix operators). How can I do this?
user avatar
  • 45.4k
17 votes
3 answers
2k views

How to workaround failures with Unicode filepaths?

(Cross-posted on the Wolfram Community, reported to the support as [CASE:3965891].) The Mathematica's Kernel and FrontEnd currently work well with Unicode file/directory paths, but some other ...
user avatar
1 vote
1 answer
4k views

How to deal with Chinese Windows path/filename? [duplicate]

I've encountered a problem with Unicode Windows file name. If I set the file name to Unicode characters on Mac OSX, it works well. But on Windows if the filename starts with a digital number or the ...
user avatar
  • 191
4 votes
2 answers
1k views

Mathematica 11 fonts in Linux are messed up

This is not a duplicate of Mathematica versions 10 and 11 fonts are broken on Linux. There the issue is with PDF export and printing. The fonts in Mathematica on my system are all messed up, see the ...
user avatar
6 votes
0 answers
164 views

Wolfram Data Drop support for Unicode

Does Wolfram Data Drop support Unicode? If I enter an entry manually, for example "пример", it will not work. If I upload the file and try to read it using ReadList, or Import, it will not work, all ...
user avatar
4 votes
1 answer
280 views

How do I insert Unicode into a MySQL database?

I'm having trouble transferring Unicode strings from one MySQL database to another using DatabaseLink` functions. Here is my failed attempt to read a string from ...
user avatar
  • 141
6 votes
1 answer
332 views

Entering NULL characters in a string

Bug fixed in 12.3 or earlier This question is about parsing files that contain nulls (character code zero) as field separators. Intending to attempt to answer this I began by trying to enter a string ...
user avatar
6 votes
0 answers
154 views

Can't get Mathematica to Import PDF files with diacritics on the file name [duplicate]

Bug fixed in 12.2.0 Tested with versions 9.0.0, 10.0.2 and 10.3.0, all under OS X 10.10.5. ...
user avatar
  • 2,580
11 votes
2 answers
159 views

A possible bug about WordCharacter on CJK characters

According to the documentation of WordCharacter: WordCharacter matches any character for which either ...
user avatar
  • 26k
4 votes
1 answer
691 views

Sort Unicode characters

Sorting ASCII phrases works fine: Sort[{"albatrob", "abo", "dict", "star", "mangel", "m"}] (*{"abo", "albatrob", "dict", "m", "mangel", "star"}*) But unless I'm ...
user avatar
4 votes
1 answer
167 views

When is Unicode code point same as Mathematica CharacterCode?

For what characters c does CharacterCode[c] not return the same value as c's Unicode code point? How does one convert c to its Unicode code point with Mathematica ...
user avatar
  • 8,374
1 vote
1 answer
3k views

SQLSelect from Microsoft Access database tables with international character set

I am trying to import data from the Northwind (accdb) database and I have both the English and Greek versions. The problems I have are the following: 1) When I am trying to import data from ...
user avatar
  • 1,271
4 votes
3 answers
550 views

How do I save a Unicode string?

I am having a problem saving a long complicated string with Unicode characters in it. I have boiled the problem down, I think, to this minimal example: ...
user avatar
  • 183
12 votes
1 answer
794 views

Exporting German Umlauts to PDF and importing them doesn't work - character encoding problem

I am using Mathematica 9.0.0.0 under German Windows 32bit. I am on trying to export and import German text to PDF and re-import it. It seems that there is a confusion about the character encoding. It ...
user avatar
13 votes
2 answers
745 views

Copying Greek text from notebooks as unicode [duplicate]

Possible Duplicate: How to “Copy as Unicode” from a Notebook? How can I copy Greek text from notebooks as proper Unicode that can be pasted into other applications? If I type some ...
user avatar
  • 224k
12 votes
1 answer
1k views

Exporting plots with Cyrillic text elements to pdf

I'm trying to export a plot with some added notes which happen to be in Russian. Using Mathematica 8.04 and WinXP I evaluate ...
user avatar
  • 1,945
19 votes
3 answers
966 views

Unicode-aware string functions?

I've recently discovered that ToUpperCase is quite unreliable on non-ASCII input: ...
user avatar
  • 10.6k
65 votes
10 answers
4k views

How to "Copy as Unicode" from a Notebook?

I spent some time manually editing a post replacing Mathematica ASCII \[Alpha] with Unicode α. I did this by laboriously ...
user avatar
  • 264k
20 votes
1 answer
1k views

How to work with characters from CJK Unified Ideographs Extension B correctly?

Background: Recently I'm trying to deal with some Chinese characters which belongs to the CJK Unified Ideographs Extension B block. The motive comes from some further interest following a former ...
user avatar
  • 26k