Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andreasvc
on May 12, 2014
|
parent
|
context
|
favorite
| on:
Unicode in Python 3
So how do you then deal with problem in the original blog post: a filename that is a non-UTF8 byte string? Surrogates? A separate byte string type?
pcwalton
on May 12, 2014
[–]
Use a separate byte string type. The problem is that paths are not UTF-8. That's a fixable problem: just let the type system know about it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: