Вот здесь список модиферов:
Пробую с помощью функции ord в питоне:
print(ord(u'\u1F3FB'))
Traceback (most recent call last):
File "test.py", line 22, in <module>
print(ord(u'\u1F3FB'))
TypeError: ord() expected a character, but string of length 2 found
Не выходит. Работает только с четырехзначными кодами
Как сделать?