Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Does Arc support i18n?
2 points by earthboundkid on July 21, 2007 | hide | past | favorite | 2 comments
I've notice that news.ycombinator doesn't have an encoding declared in its HTML head information, and it made me wonder, does Arc use Unicode internally? (If so, true Unicode or just 16-bits worth of UTF-16 like early Java?) Or does it only allow ASCII? Are there any facilities in Arc to make internationalization easier? Looking at the example of previous web frameworks, it seems like leaving out true Unicode support early ends up biting you later when you have to rewrite stuff to support Unicode after all.


Internally strings are represented as 32 bit unicode. That seemed like the right plan, and conveniently it's what Mzscheme does.

In news.yc, however, I currently (out of laziness) aggressively convert all input to ascii. Life is too short.


That seems like a good compromise between YAGNI and future proofing.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: