New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to write special characters to ADLDS?
Author Message
Makayla341 Offline
Junior Member
**

Posts: 1
Joined: Dec 2018
Reputation: 0
Post: #1
How to write special characters to ADLDS?
I'm trying to write contacts into an ADLDS ldap for using them as a phone book for a Yealink T48G. Sometimes the name of the contact includes some special characters like "ö", "ß" and "é". If these characters are contained in the fields "givenName" or "displayName" neither the phone nor the ldap client can show them correctly and instead show some other chars (for example "ö" -> "ö"), however the "name" and "dn" fields show these characters correctly.

If I insert the contactvalues via ADSI-Edit or any other tool, the phone shows the name correctly, but my application is no longer able to read the inserted special chars from givenName and shows some questionmark-boxes, however the dn and name fields are read correctly.

I've already tried using utf-8, utf-16, utf-32, iso-8859-1 and windows-1252 as encoding for my application.

So the question is how can I store these special characters using C# in the givenName property for an inetOrgPerson in an ADLDS instance?
03-26-2019 04:43 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Christ8 Offline
Junior Member
**

Posts: 1
Joined: May 2019
Reputation: 0
Post: #2
RE: How to write special characters to ADLDS?
The issue was resolved by setting the protocolversion that should be kfc survey used to version 3.

Code:
connection = new LdapConnection(new LdapDirectoryIdentifier(host, port));
connection.SessionOptions.ProtocolVersion = 3;
(This post was last modified: 05-15-2019 07:31 PM by Christ8.)
05-09-2019 10:32 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  anyway to write the local config file via provisioning Frank Drews 2 4,455 03-01-2016 06:54 PM
Last Post: Frank Drews

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication