-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-20906: Various revisions to the Unicode howto #8394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
8fc0659
to
2e79661
Compare
Try to build PDF. Not all Unicode characters are supported by TeX. |
e773e97
to
e44a86e
Compare
Rebased against the current master, so this would be ready for review or merging. |
e44a86e
to
ec30ea1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Added just few minor comments.
Doc/howto/unicode.rst
Outdated
print('length of second string=', len(multiple_chars)) | ||
print(compare_strs(single_char, multiple_chars)) | ||
|
||
When run, this outputs:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use the special code-block type for highlighting.
When run, this outputs:
.. code-block:: shell-session
$ python3 compare-strs.py
Doc/howto/unicode.rst
Outdated
length of second string= 2 | ||
True | ||
|
||
The first argument to the :func:`~unicodedata.normalize` function is a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first argument to the :func:`~unicodedata.normalize` function is a | |
The first argument to the :func:`~unicodedata.normalize` function is a |
ec30ea1
to
9f5d85d
Compare
@akuchling: Please replace |
Thanks @akuchling for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
* bpo-20906: Corrections & revisions to Unicode HOWTO * bpo-34484: don't describe range as a Private Use Area (cherry picked from commit 97c288d) Co-authored-by: Andrew Kuchling <amk@amk.ca>
GH-12155 is a backport of this pull request to the 3.7 branch. |
Open issue: is it OK to just include Unicode characters in .rst files?
https://bugs.python.org/issue20906