twitter-text-python icon indicating copy to clipboard operation
twitter-text-python copied to clipboard

Unicode hash tag support?

Open delgermurun opened this issue 12 years ago • 2 comments

Twitter support unicode hash tag. Do you plan supporting this?

https://twitter.com/gbaterdene/status/339022419534675969 this is example tweet.

delgermurun avatar May 27 '13 14:05 delgermurun

Hello, thanks for the example. Hashtags already have some unicode support (see e.g. test_hashtag_umlaut in tests.py), extending them to start with unicode characters probably isn't that hard. I'd be happy to see a Pull Request if you wanted to have a go? Note that I've also added an enhancement ticket that the twitter conformance tests should be integrated, this would likely show up other areas where this library is lacking/outdated: https://github.com/ianozsvald/twitter-text-python/issues/5

Cheers, Ian.

ianozsvald avatar Jun 01 '13 12:06 ianozsvald

I tried but my regex skill is not good :).

delgermurun avatar Jun 03 '13 14:06 delgermurun