Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Conflict between multipart/form-data and iso-8859-1

New Here ,
Nov 20, 2010 Nov 20, 2010

In a Form tag there is a conflict between  enctype="multipart/form-data" and french character set.

The following code:  method="post" enctype="multipart/form-data" accept-charset ="iso-8859-1" allows me to include a file (input type="file") but french characters (accents) are replaced by "?". If I replace the code as follows: method="post" enctype="application/x-www-form-urlencoded"  the french characters works but the input type="file" won't work.

In the update table I have: nom = <cfqueryparam cfsqltype="cf_sql_varchar" value="#wordquoteconvert(nom)#"> I use SQL Express.

Any idea?

Thanks

1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 21, 2010 Nov 21, 2010

What about accept-charset="UTF-8"?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 21, 2010 Nov 21, 2010
LATEST

I tried with "UTF-8" and even with "UTF-16". So far the only solution would be to split the form but I hope there is another way.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources