[sword-devel] swlocale question

Matthew Talbert ransom1982 at gmail.com
Thu Sep 3 16:44:57 MST 2009

I'm trying to debug a problem with locale support in Xiphos. Is there
really any documentation anywhere about how Locales work? In
particular, how SWORD decides which locale to use, etc.

Specifically right now, we have a situation where we have this code:

		sw_locale = LocaleMgr::getSystemLocaleMgr()->getLocale(sys_locale);
		OLD_CODESET = (char*)sw_locale->getEncoding();

Now OLD_CODESET should contain the locale's encoding. What does it
mean if it is null?


More information about the sword-devel mailing list