Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cbsmith
on Sept 24, 2023
|
parent
|
context
|
favorite
| on:
What it takes to pass a file path to a Windows API...
You can also just over-allocate to avoid having to call it twice, or do some really basic heuristics to fast path the call (it's very specific UTF-8 sequences that need more than 2 bytes in UTF-16).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: