129 karma · joined Feb 23, 2019 (7y ago) · 37 submissions
comment 6y ago · link · parent
Most server-side applications should never have to know what these concepts even are. Or any library that is not user-facing. They get bytes from the UI layer, and they can keep them as opaque bytes. For user-facing apps, you can ask your renderer library for a pixel-width or similar for a string, and let them handle how to parse it. Very little code ever needs to know about unicode.
Any kind of input-sanitization is vastly simplified in utf8, and that makes it worth it for me. For me the really troubling trends are conventions like Rust Utf8Error, where they can cause what I'd consider a UI-related exception in code that had no business even interpreting what those bytes are. Unfortunately, every API uses strings, so they are kind of hard to avoid. It introduces what I'd consider a software layering problem.
Maybe others here with more experience with internationalization can chime in and tell me I'm wrong.
comment 7y ago · link · parent
If I can't find anybody interested in my work, I will take a good look at whether my project is actually as useful as I thought it was, and if I need to reorient my goals. Usually it's because existing tools already solve the problem well enough, and I didn't do my background research. Or because I didn't even have a problem statement in mind to begin with. Or I'll find that I didn't write enough documentation. Feedback is invaluable.
Sometimes I will work on something just because it's fun, or because I'm learning new things. That's okay, but in that case I have made an explicit decision to not care about popularity or usage.