> From: Mark H Weaver <[email protected]> >> scm_from_locale_symbol ("scheme")); > > Note that it's good practice to always use `scm_from_utf8_symbol' or > `scm_from_latin1_symbol' when the argument is a C string literal. [... ]
> More importantly, since many people tend to copy code snippets from what > they see here and elsewhere, it's good to start spreading good i18n > habits. The key idea to spread is: it's wrong to use the user's locale > to interpret a C string literal. Good point. Virtually all of my personal code is written in the subset of documented API between 1.8 and 2.0 and is written in US-ASCII, but, you're right about spreading good habits when discussing code in public. Thanks, Mike
