XFileSharing Pro - How change default charset ?

Message
Author
ALMGHARI
Posts: 50
Joined: Jun 07, 2008 5:37 pm

How change default charset ?

#1 Postby ALMGHARI » Jun 20, 2008 1:51 am

Hello,

Please, How change default charset ??
I want change the charset in all script pages to charset=windows-1256
(XFileSharing Pro)

I want your reply, Thanks

admin
Site Admin
Posts: 1839
Joined: Mar 22, 2006 12:32 pm

Re: How change default charset ?

#2 Postby admin » Jun 20, 2008 11:23 am

ALMGHARI wrote:Hello,

Please, How change default charset ??
I want change the charset in all script pages to charset=windows-1256
(XFileSharing Pro)

I want your reply, Thanks
Hello,

right now you can put META tag with charset in main.html:

<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">

and in other HTMLs which have <head> tag.

Next release of xfileshring will have multilagunage support and charset will be option in config or site settings.

Rocket_Man
Posts: 19
Joined: May 28, 2008 12:56 am

Re: How change default charset ?

#3 Postby Rocket_Man » Jun 24, 2008 12:01 pm

admin wrote:Next release of xfileshring will have multilagunage support and charset will be option in config or site settings.
Looking forward to this. The META tag solution you mention doesn't work @ my site/script. You would expect it to work. I'm currently forced to use unicode numerical character references to make script/html output to show the special characters of my language.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Jun 25, 2008 6:49 am

I'm afraid it's not easily possible right now if you have encoded Session.pm. I will put it into config in upcoming version.

But if you wanna use 'windows-1256' charset, you can replace

Code: Select all

hgs+8
with

Code: Select all

jvaqbjf+1256
in Session.pm