Skip to content
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

Emoticons fail #10

Closed
powtac opened this issue Mar 18, 2015 · 6 comments
Closed

Emoticons fail #10

powtac opened this issue Mar 18, 2015 · 6 comments

Comments

@powtac
Copy link

powtac commented Mar 18, 2015

No description provided.

@un33k un33k closed this as completed Mar 18, 2015
@powtac
Copy link
Author

powtac commented Mar 18, 2015

Hi @un33k, is the conversion of emoticons supported by python-slugify ?

@un33k
Copy link
Owner

un33k commented Mar 18, 2015

Oh, I see. The answer is no. but it would be a cool feature if you have a pull request.

@un33k un33k reopened this Mar 18, 2015
@powtac
Copy link
Author

powtac commented Mar 18, 2015

Sorry, I don't have a PR. I was researching on different slugify libraries and facing this emoticons problem 😕 Also it looks like there is no clear idea how to convert those as far as I can see...

This looks like a solution for Java: http://stackoverflow.com/a/5709494/22470

This seems to be a potential solution for Python: https://docs.python.org/2/library/unicodedata.html#unicodedata.name

@un33k
Copy link
Owner

un33k commented Apr 16, 2015

@powtac Could you provide a use-case. The string of some sort?

@powtac
Copy link
Author

powtac commented Apr 17, 2015

A test string like this: abc🎅. Should maybe output like this aaa

@powtac powtac closed this as completed Apr 17, 2015
@powtac powtac reopened this Apr 17, 2015
@un33k
Copy link
Owner

un33k commented Apr 17, 2015

I'll let the community to come up with this feature.

@un33k un33k closed this as completed Jul 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants