close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DFP and Codepage problems

Thread began 5/16/2011 6:11 pm by ComputerLife | Last modified 5/26/2011 12:14 pm by Jason Byrnes | 1705 views | 8 replies |

ComputerLife

DFP and Codepage problems

Hi,

I’m using DigitalFilePro 1.1.3 and DataAssist 2.0.8 in ASP.
I’m using also DWCS5 and MsSQL2005.

All my pages use UTF8 enconding.
In the top of my page i have the following statement :
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
And I changed the statement to the top of file: HelperUploadVB.asp
From: session.codepage = 1252
To: session.codepage = 65001

In a form of my page I have for example four fields.

MenuItemName
MenuItemDescription
MenuItemICOfilePath
MenuItemImagePath.

Two NVARCAR strings and two text fields.

When i type the fields in MenuItemICOfilePath and MenuItemImagePath, the paths of ico and image all is allright.

When I try to use the DFP ext, the files uploaded, but the MenuItemName, and MenuItemDescription is stored in wrong codepage characters.

I used do the same thinks many times in the past in older versions.

Thank you in advanced.
I&#8217;m looking forward for an answer.

Sign in to reply to this post

Jason ByrnesWebAssist

make sure the meta tag on your page ois also set to utf-8:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


Also, see the following article on the Microsoft site:
232580

Sign in to reply to this post

ComputerLife

Thank you for your reply.
The meta tag on my page:

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

I read the microsoft article.

Any idea ?

Sign in to reply to this post

Jason ByrnesWebAssist

if the code page and the meta tag are correct, you need to follow the advice in the article for setting the database to take UTF8 data. If the page is passing the data as UTF8, but it is not storing properly in the database, it is a database configuration issue.

Sign in to reply to this post

ComputerLife

Hi Jason.
When used
Request.Form() to get the fields values all is working perfect.

When used
WA_DFP_UploadObj.Form() then the problem appears.

My Database, Table and field Collation : Greek_CI_AI

Please send me an angel.

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of your page and the HelperUploadVB.asp page so I can investigate further.

Sign in to reply to this post

ComputerLife

Hello Jason.
&#921;t is difficult to work together, because when I am sleeping you are working and when I am working you are sleeping. :-)


I Send you a Zip file containing :
HelperUploadVB.asp file,
a screenshot of my application (ScreenShot.jpg),
a screenshot of MsSQLserver 2005 with the columns of the table (FamilyTable-Columns-Config.jpg),
and a screenshot of the data of that table (FamilyTable-Data-ScreenShot.jpg),
and the update page. (Families_Update.asp)

Thanks for trying to help me.

Attached Files
DfpCodePageProblem.zip
Sign in to reply to this post

ComputerLife

If you have a problem opening the zip file, open the WINZIP application and then through WINZIP open the file that I sent you.

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...