| View previous topic :: View next topic |
| Author |
Message |
Ugly Mau
Joined: 30 Aug 2007 Posts: 7
|
Posted: Mar 31, 2008 4:52 pm Post subject: Charset |
|
|
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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Apr 01, 2008 12:59 pm Post subject: |
|
|
I guess you're talking bout progress bar?
Then in upload_status.cgi replace
| Code: | | print"Content-type: text/html\n\n"; |
with
| Code: | | print"Content-Type: text/html; charset=utf-8\n\n"; |
|
|
| Back to top |
|
 |
Ugly Mau
Joined: 30 Aug 2007 Posts: 7
|
Posted: Apr 01, 2008 8:26 pm Post subject: |
|
|
Sorry, my question was not much precise one.
My problem is in the shipment of the data, some letters does not
succeed to recover them after the shipment of the form.
it is possible to indicate as the text sended in the form must be
codified?
Thanks |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Apr 02, 2008 5:26 am Post subject: |
|
|
Ok. In upload.cgi find
| Code: | Subject: $subject
Content-Type: text/html |
and replace "Content-Type: text/html" line with
| Code: | | Content-Type: text/html; charset=utf-8 |
|
|
| Back to top |
|
 |
Ugly Mau
Joined: 30 Aug 2007 Posts: 7
|
Posted: Apr 18, 2008 3:37 pm Post subject: |
|
|
Hello
The problem persists, also planning the chartset utf8 them the characters "à" do not come recovered from the form
Some suggestion?
Thanks |
|
| Back to top |
|
 |
Ugly Mau
Joined: 30 Aug 2007 Posts: 7
|
Posted: Apr 18, 2008 6:05 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Apr 21, 2008 7:46 am Post subject: |
|
|
| Ugly Mau wrote: | Hello
The problem persists, also planning the chartset utf8 them the characters "à" do not come recovered from the form
|
"do not come recovered from the form" where? in email or on results page or on download page? |
|
| Back to top |
|
 |
Ugly Mau
Joined: 30 Aug 2007 Posts: 7
|
Posted: Apr 21, 2008 8:18 am Post subject: |
|
|
in the page where recovery the data, than then I insert in the
database.
In the example that I have put, recovery the data with
echo $_post['text_form' ];
Thanks |
|
| Back to top |
|
 |
jimrws
Joined: 05 Feb 2008 Posts: 20
|
Posted: May 29, 2008 9:04 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: May 29, 2008 9:16 am Post subject: |
|
|
Do you have META tags for UTF-8 on upload page?
| Code: | | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
And if you need utf-8 in admin notification email, in upload.cgi find
| Code: | | ) or die "Error creating multipart container: $!\n"; |
and add lin e below:
| Code: | | $msg->attr("content-type.charset" => "UTF-8"); |
..this is for XUpload 3.0
Last edited by PilgrimX182 on May 29, 2008 9:18 am; edited 1 time in total |
|
| Back to top |
|
 |
jimrws
Joined: 05 Feb 2008 Posts: 20
|
Posted: May 29, 2008 9:18 am Post subject: |
|
|
Ah, its ok, I think I might have fixed this.
This seems to work for me
Content="text/html; Charset=iso-8859-2" |
|
| Back to top |
|
 |
|