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

#175 fixing problems with encoding #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

#175 fixing problems with encoding #176

wants to merge 1 commit into from

Conversation

coffebar
Copy link

#175 fixing problems with encoding

@coffebar
Copy link
Author

This solves #175

@doratoa
Copy link
Contributor

doratoa commented Nov 11, 2016

I believe it was already resolved by now? Should we close it?

(from master):

    def _notify(self, **kwargs):
        icon = getattr(Drawable, kwargs.get('icon_android', 'icon'))
        noti = NotificationBuilder(activity)
        noti.setContentTitle(AndroidString(
            kwargs.get('title').encode('utf-8')))
        noti.setContentText(AndroidString(
            kwargs.get('message').encode('utf-8')))
        noti.setTicker(AndroidString(
            kwargs.get('ticker').encode('utf-8')))
        noti.setSmallIcon(icon)
        noti.setAutoCancel(True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants