Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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

Hi...

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.



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





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