Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 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
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

Hi.

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

Reply With Quote
Reply


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
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



All times are GMT -4. The time now is 06:16 AM.


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