-
Notifications
You must be signed in to change notification settings - Fork 513
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
Parsing no longer works when exported as jar file #33
Comments
Turns out this is an issue when the emoji-java is exported in a jar file in general. Updated main post. |
same issue here, we are using gradle shadow plugin 1.2.3 |
@manuelgu Not sure if you tried this but in the file |
A good idea; I'll give it a shot sometime soon. -Daniel On Thu, May 12, 2016, 10:53 PM Jean-Pierre Pommet notifications@github.com
|
My IntelliJ terminal has UTF-8 encoding (that is why it works) while the Windows Powershell uses Windows-1252. I couldn't figure a way to change that, but since my application is running on a linux terminal in bash it doesn't really matter, because that one has UTF-8 encoding as well. Replacing the emojis in the file sounds like a great idea though! |
Hello,
I'm using
EmojiParser.parseToAliases(message)
to convert emojis to to their aliases.I'm reading messages from a third-party application which contain emojis.
I have two applications set up, one which I'm running from IntelliJ and one which is being exported as a .jar fille and executed via
java -ver blah.jar
Whilst the pure Java application successfully parses the emoji to an alias, the exact same code exported as a .jar does not parse the emoji at all and still returns the emoji from
EmojiParser.parseToAliases()
.Happy to share some more code, thanks.
The text was updated successfully, but these errors were encountered: