Skip to main content.
home | support | download

Back to List Archive

Re: problems with tolower

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Wed Feb 16 2005 - 14:55:45 GMT
dasoso@alumni.uv.es wrote on 2/16/05 8:49 AM:
>      
>   Hi all.     
>      
>      
> 
>>man locale or use google.  You machine's locale determines how it     
>>sorts, displays money and thousands separator in numbers.     
> 
>      
>  1.-Here ara my locale settings, could be the reason because swish-e     
> indexes ÁRBOL as Árbol?     
>      
> x:~> locale     
> LANG=es_ES.UTF-8     
> LC_CTYPE="es_ES.UTF-8"     
> LC_NUMERIC="es_ES.UTF-8"     
> LC_TIME="es_ES.UTF-8"     
> LC_COLLATE="es_ES.UTF-8"     
> LC_MONETARY="es_ES.UTF-8"     
> LC_MESSAGES="es_ES.UTF-8"     
> LC_PAPER="es_ES.UTF-8"     
> LC_NAME="es_ES.UTF-8"     
> LC_ADDRESS="es_ES.UTF-8"     
> LC_TELEPHONE="es_ES.UTF-8"     
> LC_MEASUREMENT="es_ES.UTF-8"     
> LC_IDENTIFICATION="es_ES.UTF-8"     
> LC_ALL=     
>      


iirc, your original email said that you were using multi-byte characters. 
Swish-e doesn't support multibyte characters. I'd suggest you change your locale 
to *not* include UTF-8; I'll bet that's where you're getting the error.

Bill will likely suggest a slick way to do all that.

-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
Received on Wed Feb 16 06:55:45 2005