Questions tagged [named-characters]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
148 views

Special Character boxtime

In LaTeX, \boxtimes works as follows: ...
5
votes
1answer
45 views

Non-breaking hyphen?

I found \[NonBreakingSpace] but I haven't found a non-breaking hyphen (I want to use them in text mode in notebooks). I must be missing something obvious.
17
votes
2answers
374 views

When to name a variable with $

There are some symbols in the Wolfram Language that start with $, including $Abort, ...
1
vote
1answer
55 views

CharacterRange oddity [closed]

CharacterRange documentation says that it returns a list. However, if I define letters[n_] := CharacterRange["\[Alpha]", "\[CurlyPhi]"][[;; n]] and then ask for <...
5
votes
1answer
286 views

A bug in converting some Unicode characters into FullForm?

Currently I know only one well-documented way to convert all special characters in an arbitrary string into their FullForm: In ...
8
votes
2answers
360 views

What would be the special character for this mathematical notation?

What would be the special character for this mathematical notation? And how do I enter the $H$ and $0$? What are the Special Characters? I searched information about this bar in another site to get ...
5
votes
2answers
150 views

Possible bug in Export with CharacterEncoding -> “PrintableASCII”

In the Documentation we read (emphasis is mine): By default, the Wolfram System uses the character encoding "PrintableASCII" when saving notebooks and packages. ...
8
votes
3answers
222 views

Re-encode text file to use Mathematica's character name, like \[Alpha]

How can I re-encode a text file (or string) so that non-ASCII characters will be represented using Mathematica's standard names? For example, if the original contents of the file was ...
6
votes
2answers
614 views

How to make tabs aligned in Print?

For example, Print["1\t55 33\t44"] outputs Why tab is not aligned? If tab is not aligned, why is it called tab? Is there a way to make tabs aligned?
5
votes
1answer
582 views

How to correctly write string with tabs into file?

For example str="a\tb" and ...
4
votes
1answer
76 views

Inverse of CharacterName [duplicate]

Is there an inverse function to CharacterName? For example, CharacterName["ε"] gives ...
5
votes
1answer
237 views

What's purpose of function System`Private`LookupCodeByName and System`Private`LookupNameByCode [closed]

These are useful function from their name.And they are kernel function since: ...
1
vote
0answers
87 views

Why can't variables be set to named characters [closed]

Why can't variables be Set to named characters as shortcuts? eg a = \[UpArrow] Gives syntax error: ...
6
votes
1answer
283 views

Entering null characters in a string

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 containing a null, e.g. by ...
1
vote
4answers
328 views

Importing Text file with Null Character column separation

I have a text file (ANSI encoding) with two columns of real numbers separated, unfortunately, by a "Null Character" ("\.00"). How can I import this data easily? ...
2
votes
1answer
261 views

How can we accommodate arbitrary Unicode characters in symbol names?

I understand why Mathematica doesn't the support the [ character in symbol names, but it should be escapable in some way, like non-printable characters are in ...
1
vote
1answer
724 views

create a function that converts a character string consisting of lowercase letters of the english alphabet to a number

I need a function that will take input as a string of lowercase letters and then output integers in this form a=01 b=02 c=03 d=04 e=05 . . . z=27 The letters must correspond with these integers ...
18
votes
1answer
712 views

How to add named characters to Mathematica 10 or later?

Any news regarding this for Mathematica 12? It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::...
12
votes
2answers
342 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 ...
4
votes
1answer
262 views

Embedding Mathematica Console into a Java/.NET Application [duplicate]

I enjoy using Mathematica's notebook interfaces, but more specifically the autocompletion in each notebook. I'm in need of a way to put tons of Mathematica windows on the same page. It would be an ...
24
votes
2answers
724 views

Are formal characters like \[FormalA] to be used differently than other symbols?

I noticed that Mathematica has a set of special 'Formal' characters such as \[FormalA], \[FormalB] , etc.. In the front end, it ...
7
votes
1answer
857 views

What are \[InvisiblePrefixScriptBase] and \[InvisiblePostfixScriptBase]?

In the non-printing characters documentation, I see two named characters that are largely undocumented: \[InvisiblePrefixScriptBase] and ...
1
vote
1answer
247 views

How do I construct a “named character” programmatically?

Why am I getting the error Syntax::sntunc: Unicode longname in the string is unterminated. from the following? ...
62
votes
10answers
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 ...