pebble-robotoweather icon indicating copy to clipboard operation
pebble-robotoweather copied to clipboard

UnicodeEncodeError

Open zenwheel opened this issue 11 years ago • 1 comments

I'm seeing this:

UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 15: ordinal not in range(128)

It's where it tries to include the degree symbol in FUTURA_40 in the resource_map.json. I just grabbed the latest pebble SDK and I'm using python 2.7.4 on Ubuntu 13.04, but I'm unfamiliar with python to know what to do. Removing the symbol allows a 'waf build' to complete, but I get a box next to the temperature instead of the degree symbol.

zenwheel avatar Jul 10 '13 19:07 zenwheel

I found this, which fixed the issue: https://github.com/fisakov/pebble-sdk-characterRegex

zenwheel avatar Jul 15 '13 17:07 zenwheel