Re: Sphinx parallel build error: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 18-20: ordinal not in range(256)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 12.05.21 um 09:18 schrieb Markus Heiser:
It depends on what character set your en_US locale implements.

~> cat test.py
print("↑ᛏ个")

At least the last character is a not-printable character.

For the non 8bit characters I recommend to use python's
unicode representation (\u):

  >>> print('The currency in EU is \u20AC')
  The currency in EU is €

 -- Markus --



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux