it is possible to indicate the charset of the text? As an example UTF-8
I have problems with letters àèò
I use xupload pro 2.6
thanks
XUpload - Charset
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
I guess you're talking bout progress bar?
Then in upload_status.cgi replace
with
Then in upload_status.cgi replace
Code: Select all
print"Content-type: text/html\n\n";
Code: Select all
print"Content-Type: text/html; charset=utf-8\n\n";
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Ok. In upload.cgi find
and replace "Content-Type: text/html" line with
Code: Select all
Subject: $subject
Content-Type: text/html
Code: Select all
Content-Type: text/html; charset=utf-8
To understand the problem, experienced to put this text "qwerty èkààyhò" in this page that I got ready yourselves, the letters "à" go out with "?"
http://www.aziendevenete.com/prova_cgi/form.php
Thanks
http://www.aziendevenete.com/prova_cgi/form.php
Thanks
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
I'm having exactly the same problem but I need the special characters to appear in the emails.
My sendmail code looks like this:
To: $mail_to
From: $mail_from
Subject: $subject
Content-Type: text/html; charset=utf-8
I'm getting Asian characters instead:
Financi貥
Fran硩s
T鬺
This should read:
Financière
Français
Tél
Can someone help?
My sendmail code looks like this:
To: $mail_to
From: $mail_from
Subject: $subject
Content-Type: text/html; charset=utf-8
I'm getting Asian characters instead:
Financi貥
Fran硩s
T鬺
This should read:
Financière
Français
Tél
Can someone help?
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Do you have META tags for UTF-8 on upload page?
And if you need utf-8 in admin notification email, in upload.cgi find
and add lin e below:
..this is for XUpload 3.0
Code: Select all
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
Code: Select all
) or die "Error creating multipart container: $!\n";
Code: Select all
$msg->attr("content-type.charset" => "UTF-8");
Last edited by PilgrimX182 on May 29, 2008 9:18 am, edited 1 time in total.