Subject: Re: bug#12008: Alphabetic sorting respect user's language and/or locale

From: Eli Zaretskii <[email-masked]>
Date: Sat, 21 Jul 2012 19:38:21 +0300

> Date: Sat, 21 Jul 2012 19:01:11 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked]
> 
>   Lisp_Object enc_str1 = ENCODE_SYSTEM (string1);
>   Lisp_Object enc_str2 = ENCODE_SYSTEM (string2);
> 
>   return make_number (strcoll (enc_str1, enc_str2));

Err... make that

   return make_number (strcoll (SDATA (enc_str1), SDATA (enc_str2)));

Sorry.