[prev in list] [next in list] [prev in thread] [next in thread] 

List:       icu
Subject:    RE: ucnv_getDefaultName
From:       Yves Arrouye <yves () realnames ! com>
Date:       2002-03-20 19:33:23
[Download RAW message or body]

> u_finit isn't working right in my opinion.  While taking a closer look, it
> looks like the whole determination of the codepage is wrong.  Maybe it
> should look something like this.

Thank you :-)

>     if(codepage == NULL) {
>         if(!useSysCP) { /* if both locale and codepage are 0, use the
> system default codepage */
>             codepage = uprv_defaultCodePageForLocale(locale);
>         }

Wouldn't that bring back the problem? It would get iso-8859-1 back no? Or is
locale 0 as per the comment, and then uprv_defaultCodePageForLocale(0) calls
uprv_getDefaultCodePage() [love the different spellings of codepage ;)]

YA


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic