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:

                
LocaleMgr::getSystemLocaleMgr()->setDefaultLocaleName(sys_locale);
                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?

Thanks,
Matthew

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to