|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Minimize the cost of deploying database applications. Advantage Database Server or Microsoft SQL Server – Which One is Right for You? Learn now! |
|
#1
|
|||
|
|||
|
Access Database, Cold fusion MX, uploading files and utf-8 encoding
We are using Access Database and Cold Fusion MX.
The UTF-8 data works fine for sending, preserving, and retrieving international characters but does not work when trying to upload a text or image file. I followed all instructions for adding code to application.cfm <cfset setEncoding("URL", "UTF-8")> <cfset setEncoding("FORM", "UTF-8")> <cfcontent type="text/html; charset=UTF-8"> and adding <cfprocessingdirective pageencoding="UTF-8"> to the top of pages. I keep getting an error when attaching the utf-8 code to the multipart/form-data ... see code <form method="post" name="hidform" enctype="multipart/form-data: charset=utf-8" action="create_tile.cfm"> any help would be soooooo very much appreciated. Cheers, |
|
#2
|
|||
|
|||
|
I believe that's because you're overriding your own directives ..
with <cfset setEncoding("FORM", "UTF-8")> you're already forcing your forms to use utf-8 encoding .. you do not need to add <form method="post" name="hidform" enctype="multipart/form-data: charset=utf-8 " action="create_tile.cfm"> i might be wrong .. regards, idss |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Access Database, Cold fusion MX, uploading files and utf-8 encoding |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|