I'm having a unicode problem on FreeBSD lang/python34 that does not appear on MacOS X. I've condensed the problem to one single line to enter in the interpreter:
FreeBSD: Python 3.4.2 (default, Jan 28 2015, 22:23:57) [GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)] on freebsd10 Type "help", "copyright", "credits" or "license" for more information. >>> b'\xc3\xa2'.decode('utf-8') '\xe2' MacOS X: Python 3.4.2 (default, Oct 19 2014, 17:55:38) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> b'\xc3\xa2'.decode('utf-8') 'รข' Why is Python on FreeBSD incorrectly decoding this? _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"