to demo utf8, emoji logging without exception #1093

Closed
sigoa wants to merge 2 commits from patch-2 into master
sigoa commented 2018-01-22 13:30:14 +01:00 (Migrated from github.com)

to demo utf8, emoji logging without exception

as requested by Peter via BM recently

to demo utf8, emoji logging without exception as requested by Peter via BM recently
PeterSurda (Migrated from github.com) reviewed 2018-01-22 22:12:32 +01:00
PeterSurda (Migrated from github.com) commented 2018-01-22 22:12:32 +01:00

Please rename to something else than "emoji", e.g. something with utf8, unicode or encoding.

Please rename to something else than "emoji", e.g. something with utf8, unicode or encoding.
PeterSurda (Migrated from github.com) reviewed 2018-01-22 22:13:38 +01:00
PeterSurda (Migrated from github.com) commented 2018-01-22 22:13:38 +01:00

Please get rid of the logger.warning or replace it with something more neutral, like "logger encoding reset", and it should be .info or .debug, not .warning.

Please get rid of the logger.warning or replace it with something more neutral, like "logger encoding reset", and it should be .info or .debug, not .warning.
PeterSurda commented 2018-01-22 22:15:19 +01:00 (Migrated from github.com)

The commit is against the master branch, please rebase against v0.6, other than that it looks fine.

The commit is against the master branch, please rebase against v0.6, other than that it looks fine.
sigoa commented 2018-01-25 06:47:01 +01:00 (Migrated from github.com)

works nicely here. no other changes needed in logging functions calls. handy, huh?

works nicely here. no other changes needed in logging functions calls. handy, huh?
PeterSurda commented 2018-01-25 08:10:12 +01:00 (Migrated from github.com)

I tested it and it works if your locale is utf-8. If it isn't and the error message has non-ascii characters, it still is broken. However I figured out how to fix both.

I tested it and it works if your locale is utf-8. If it isn't and the error message has non-ascii characters, it still is broken. However I figured out how to fix both.
This repo is archived. You cannot comment on pull requests.
No description provided.