Skip to main content

Questions tagged [unicode]

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

Filter by
Sorted by
Tagged with
5 votes
1 answer
105 views

Converting Unicode Number Subscripts to Standard Mathematica Subscript Notation

I am importing data data={"t*α₁","α₁*α₄"} But unfortunately, all of the subscripts are in Unicode: ...
Luke's user avatar
  • 267
1 vote
0 answers
89 views

How can I rasterize expressions with Runic characters in Wolfram Cloud?

Here is my function to create polynomials with a specific format: ...
Teg Louis's user avatar
8 votes
1 answer
245 views

Unicode symbols not encoded properly in BarcodeImage[] in Mathematica 13.3

Trying to generate a simple QR code with ← or U+2190. I got varying results: the same in Mathematica versions 12.3 and 13.1 but very different in version 13.3. Mathematica 13.3 was updated to ...
David Caliri's user avatar
2 votes
3 answers
133 views

Space cannot be used in vertical string with unicode character

To reproduce the issue, use Ctrl+Enter to create 3 placeholders and enter (or ...
Y. zeng's user avatar
  • 567
7 votes
1 answer
346 views

How can I export a text file in UTF-8 with a BOM (also known as UTF-8 with signature)?

The default setting "UTF8"/"UTF-8" results in a text file without a byte order mark (BOM)/signature. What if ...
xzczd's user avatar
  • 66.9k
7 votes
4 answers
1k views

Converting an Unicode's image into polygon data for an SVG

So, I have the the Chinese character 熙, which I can easily turn into an image: img=Rasterize[Text[Style[FromCharacterCode[{29081}], FontSize -> 300]]] which ...
Teg Louis's user avatar
2 votes
1 answer
141 views

Parsing HTTP POST request or how to find a string in a byte array

I am a developer of a Mathematica web-server (see TinyWEB). I managed to parse a multipart POST request containing text files, however, it is hard to expand it to any types of binary data like JPEG, ...
Kirill Vasin's user avatar
  • 1,245
2 votes
0 answers
59 views

BoundaryDiscretizeGraphics for exotic unicode glyphs

This code works BoundaryDiscretizeGraphics[Text@"\[WolframLanguageLogoCircle]\[WolframLanguageLogo]", _Text] But for more exotic characters, it produces ...
Adam's user avatar
  • 3,956
6 votes
1 answer
122 views

SemanticImport mangles Greek letters in column headers

Bug persisting through 13.1.0 I have a Dataset whose column headers contain Greek letters. If I export the Dataset as a csv file and then ...
Etaxon's user avatar
  • 63
1 vote
1 answer
84 views

Edit UnicodeCharacters.tr-File

I want to install a new package in Mathematica. If I understand the userguide right, I also have to edit the UnicodeCharacters.tr-File by another *.tr-File for example containing 0x2219 [...
Joju127's user avatar
  • 11
12 votes
2 answers
635 views

How to convert Unicode to Chinese

I want "\u5b66\u6821\u73b0\u6709\u5728\u6821\u5b66\u751f25000\u4f59\u4eba\u\ ff0c\u73b0\u5f00\u8bbe30\u4e2a\u672c\u79d1\u4e13\u4e1a" to ...
a15355447898a's user avatar
7 votes
1 answer
187 views

Unexpected behavior: missing characters in the code page 936

Bug persisting through 13.1.0 In the CP936.m file which will be loaded by Internal`LoadEncodingFile@"CP936"; there ...
rnotlnglgq's user avatar
  • 3,740
4 votes
0 answers
188 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 ...
Steven Thomas Hatton's user avatar
3 votes
0 answers
119 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 ...
Gravifer's user avatar
  • 872
5 votes
1 answer
206 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. <...
chikitin's user avatar
  • 151
2 votes
0 answers
48 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, ...
Kvo's user avatar
  • 275
7 votes
0 answers
176 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 ...
yawnoc's user avatar
  • 1,235
15 votes
1 answer
434 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 ...
Alexander's user avatar
  • 151
2 votes
0 answers
181 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 ...
user13892's user avatar
  • 9,443
6 votes
0 answers
174 views

Problem with my user name

I'm trying to use the new website ("Wolfram Function Repository") and i get the following error: ...
jjagmath's user avatar
  • 411
1 vote
1 answer
447 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') ...
yode's user avatar
  • 26.8k
2 votes
1 answer
271 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 ...
Landon's user avatar
  • 155
5 votes
0 answers
89 views

Nonacceptance by StackExchange site of Mathematica TeXForm employing \unicode

When I apply the Mathematica command TeXForm to ...
Paul B. Slater's user avatar
2 votes
1 answer
233 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 ...
user13892's user avatar
  • 9,443
2 votes
1 answer
113 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 ...
user13892's user avatar
  • 9,443
2 votes
0 answers
99 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 ...
Felipe Jiménez's user avatar
3 votes
0 answers
99 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 <...
Per Alexandersson's user avatar
6 votes
1 answer
152 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 ...
Chen Stats Yu's user avatar
3 votes
2 answers
163 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: ...
Matthew Rivers's user avatar
4 votes
2 answers
386 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 ...
user1747134's user avatar
2 votes
1 answer
818 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 ...
Miladiouss's user avatar
  • 1,883
2 votes
1 answer
69 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?
b3m2a1's user avatar
  • 46.9k
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 ...
Alexey Popkov's user avatar
1 vote
1 answer
5k 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 ...
cmal's 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 ...
Henri Menke's user avatar
6 votes
0 answers
183 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 ...
Hristo Vrigazov's user avatar
4 votes
1 answer
315 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 ...
Ben's user avatar
  • 141
6 votes
1 answer
413 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 ...
MikeLimaOscar's user avatar
6 votes
0 answers
155 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. ...
Aisamu's user avatar
  • 2,638
11 votes
2 answers
174 views

A possible bug about WordCharacter on CJK characters

According to the documentation of WordCharacter: WordCharacter matches any character for which either ...
Silvia's user avatar
  • 27.6k
13 votes
5 answers
1k views

How to prevent ExportString from reencoding diacritics when exporting as JSON

I'm not sure if it's a bug with Mathematica or if I'm missing something, but when trying to ExportString a UTF-8 string with diacritics as JSON, it's messing up the ...
R. Kazeno's user avatar
  • 185
4 votes
1 answer
726 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 ...
DumpsterDoofus's user avatar
5 votes
1 answer
210 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 ...
user13253's user avatar
  • 8,666
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 ...
Athanassios's user avatar
  • 1,301
9 votes
2 answers
216 views

Is undocumented \.bd = ½ bad to use?

I want to use \.bd which leads to ½ as part of the name of a symbol in the front end (e.g. ...
QuantumDot's user avatar
  • 19.7k
7 votes
2 answers
408 views

Can I read Chinese characters with ReadList correctly?

Just try this example: Export["a.txt", "这乱码问题该怎么解决呢\n***\n怎么解决嘛"] ReadList["a.txt", Record] ...
xzczd's user avatar
  • 66.9k
5 votes
3 answers
666 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: ...
Hbar's user avatar
  • 255
12 votes
1 answer
853 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 ...
Juergen Bosse's user avatar
13 votes
2 answers
854 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 ...
Szabolcs's user avatar
  • 235k
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 ...
iav's user avatar
  • 2,016