Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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
Old March 16th, 2005, 08:22 AM
Registered User
Join Date: Aug 2003
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default UTF-8


I'm evaluating advldap copoment from ASPFusion. My ASP page has to update data on the LDAP server. Everything works fine if my string (for example address) is copmosed of normal characters (example "15 street..."). But if the address (variable var_address) has some special character (I'm living in Slovenia and ouer vucabolary has some 'special' letters - ŠÈŽ) then an error raises:

Invalid syntax... (advldap error)

The line in my code is:

LDAP.AttributeModify "siEduPersonPermanentPostCodeAddress",var_address,-1, false

The data in LDAP server is stored in UTF8 format (has been told to me by the administrator), while my ASP uses MSWIN1250 charset to display data (content="text/html; charset=MSWIN...").

Is it possible to convert the var_address variable which holds the data that has to be updated on the LDAP server in UTF8 format

Thanks in advance.

Sebastian Lahajnar

Similar Threads
Thread Thread Starter Forum Replies Last Post
encoding="UTF-8" Pankaj C XSLT 3 October 4th, 2007 05:27 PM
utf-8 and ascii mail2atulmehta Classic ASP Databases 0 January 26th, 2005 11:22 PM
How to use Scriptupload + UTF-8 ? duydp Classic ASP Professional 1 October 20th, 2004 11:31 AM
UTF-8 msxml lpinho XML 4 January 28th, 2004 06:10 AM
UTF-16 dkb XML 14 November 7th, 2003 09:05 AM

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