Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 29th, 2007, 05:07 AM
Registered User
Join Date: Oct 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accented character handling


I am using FCKEditor to accept the data from user in asp.
I am storing the text entered in FCKEditor into the database(the database is managed by language called as visual data flex).
For that I am passing the data from asp to the visual data flex(VDF) function which is storing the data to databse.
My problem is how to pass accented characters(like Œ or Ç) to VDF from ASP.
Because VDF does not support unicode.
At ASP page I've written this :
<meta http-equiv="Content-type" content="application/xhtml+xml; charset=iso-8859-1" />

Currently to solve accented character problem I am calling one function in asp which is performing something like this:
        sString = replace(sString, chr(128), "#0128;")
        sString = replace(sString, chr(132), "#0132;")
        sString = replace(sString, chr(254), "#0254;")

After this I am passing this data to VDF function.

But problem with this function is that for each character from 128 to 255 I've to do this. And it is making my system slower.

Is their any other way to handle accented characters?

Thanks in advance.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Match accented characters with a regular expr. dacian PHP How-To 0 February 22nd, 2007 09:54 AM
form feed Character Handling in VB.net rupesh_india Classic ASP Basics 0 August 21st, 2006 02:35 AM
Accented characters transformation in XSL ROCXY XSLT 3 January 19th, 2006 08:50 AM
HELP!!! the problem of handling special character kemin Classic ASP Databases 1 December 13th, 2003 01:31 PM

All times are GMT -4. The time now is 12:11 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.