3 ms·
Python 3.7.5 (default, Nov 5 2019, 22:30:48) [Clang 11.0.0 (clang-1100.0.33.12)] on darwin Type "help", "copyright", "credits" or "license" for more informa
by xyst 6y ago
Python 3.7.5 (default, Nov 5 2019, 22:30:48)
[Clang 11.0.0 (clang-1100.0.33.12)] on darwin
Type "help", "copyright", "credits" or "license" for more
information.
>>> from locale import *
>>> setlocale(LC_ALL, 'tr_TR.UTF-8')
'tr_TR.UTF-8'
>>> 'INFO'.lower()
'info'
>>> '🧘 ️'.lower()
'🧘\u200d️'
>>> exit()
There's something wrong with emojis + lower() though
- Dylan16807 6y agoIt lowercased the 'show this as emoji' variation selector to zero width joiner?