Indexing CharSet encoding.

#1
I have an issue with LiteSpeed, running version 4.2.4 Enterprise.

We have a french customer that uploads files with french accents.
With Apache 2.4, we use IndexOptions Charset=windows-1252 in .htaccess and it works perfectly while indexing.

This feature does not work with LiteSpeed, is there any way I can fix this? It's really important for our customer.

Thanks
 

mistwang

LiteSpeed Staff
#2
with 4.2.5, if "AddDefaultCharset windows-1252" is set in .htaccess, the index page will add that charset.

If this is a dedicate setup for this customer, you can also update the default indexing script at /usr/local/lsws/share/autoindex/default.php to set "Content-type" header with charset. it will affect the whole server though. not for shared hosting.
 
#3
Sadly it doesnt work, with apache we didnt even have to use charset in .htaccess, it just works out of the box.

I tried both indexoptions and AddDefaultCharset with no luck, still shows strange characters instead of french accents
 
Top