Unicode strings: Difference between revisions

Content deleted Content added
Added zkl
Kazinator (talk | contribs)
→‎{{header|TXR}}: Explicit -B to show variable bindings.
Line 973: Line 973:
The regular expression engine, also an original implementation, self-contained within TXR, supports full Unicode (not only the Basic Multilingual Plane, but all planes).
The regular expression engine, also an original implementation, self-contained within TXR, supports full Unicode (not only the Basic Multilingual Plane, but all planes).


However, as of version 035, identifiers such as variables are restricted to English letters, numbers and underscores.
However, as of version 89, identifiers such as variables are restricted to English letters, numbers and underscores.


Whether or not text outside of the Basic Multilingual Plane can actually be represented by a given port of TXR depends on the width of the C compiler's wchar_t type. A 16 bit wchar_t restricts the program to the BMP.
Whether or not text outside of the Basic Multilingual Plane can actually be represented by a given port of TXR depends on the width of the C compiler's wchar_t type. A 16 bit wchar_t restricts the program to the BMP.
Line 997: Line 997:
</pre>
</pre>


Expected output:
Expected output (with <code>txr -B</code>):


<pre>TITLE="春が来た"
<pre>TITLE="春が来た"