Questions tagged [named-characters]

The tag has no usage guidance.

4
votes
2answers
133 views

Special Character boxtime

In LaTeX, \boxtimes works as follows: ...
5
votes
1answer
41 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
321 views

When to name a variable with $

There are some symbols in the Wolfram Language that start with $, including $Abort, ...
1
vote
1answer
54 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
223 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
355 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
121 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
187 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
410 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
456 views

How to correctly write string with tabs into file?

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

Inverse of CharacterName [duplicate]

Is there an inverse function to CharacterName? For example, CharacterName["ε"] gives ...
5
votes
1answer
232 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
75 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
254 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
254 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
249 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
647 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 ...
17
votes
1answer
685 views

How to add named characters to Mathematica 10 or later?

It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::tsntxi: "\"!(\[ KlingonA])\" is incomplete; more ...
12
votes
2answers
318 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
256 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 ...
23
votes
2answers
549 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
764 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
240 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? ...
60
votes
10answers
3k 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 ...