Jul 27, 2009 23:56
One of the wonderful things about UTF-8 is that you don't need to do anything to support it in your program. That is, you don't have to implement any special handling if the program doesn't need to actually understand what's written but, say, to simply copy/store/pass data.
I implemented login/sessions/adding_content_through_the_web in my website engine two or so weeks ago. And while I was testing various things, I discovered to my great surprise that I could make posts in Russian, or in any other language for that matter. And my LISP interpreter -- substituted two isgraph(*s) in the parser code with !isspace(*s) && *s != '\0' and voila, it can work with text in UTF-8 too.
awesome,
blablabla