Le 17.10.2006, à 14:28:14, Vassilii Khachaturov a écrit:
> I was just reviewing some of my submitted long-standing debian bugs,
> and realized that I never clarified the workaround for whoever else
> is bitten by this:
> 
> At the expense of the menus being non-localized,
> if I run jpilot with the locale reset (i.e., setting the environment
> variable LANG to C), then the sorting is done correctly.

The sorting algorithm is qsort(3) using the strcmp(3) as the comparing
function. So the sorting problem is in strcmp(3).

Do you know a comparing function that would work with russian texts in a
ru_RU.KOI8-R locale?

Maybe you can try to use a UTF-8 locale.


Your bug report also says:
  "Also, I keep getting a lot repeated errors like this

  charset_p2j: buffer too small - string had to be truncated to
  
[\u043f╥\u044f\u250c\u044f\u2524\u043f\u2563\u044f\u2502\u044f\u250c\u043f\u2561\u043f]

  in the transcript window of jpilot."

Do you still see these logs?

Bye,

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Reply via email to