softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
28 stars 21 forks source link

RFE: support unicode in exceptions #149

Open yac opened 6 years ago

yac commented 6 years ago

I got horrible encoding problems in feature tests when I tried to raise unicode chars in exception messages so rdopkg currently converts most of them into ascii.

Even though unicode is python 2 sucks, there must be a way around this. Importing and raising any rdopkg.exception with unicode characters works fine in ipython outside of rdopkg.

flags=re.UNICODE isn't used throughout rdopkg, might be related?