0

I have IDN URL like this : http://президент.рф/ which is represented with IDN URL http://xn--d1abbgf6aiiy.xn--p1ai/ When I try to save that URL into varchar column of SQL server I am getting ??????. Isn't IDN Punycode should be ASCII representation of Unicode characters ?

Radenko Zec
  • 7,659
  • 6
  • 35
  • 39
  • 3
    `declare @t table(url varchar(50));insert into @t values ('http://xn--d1abbgf6aiiy.xn--p1ai/ ');select * from @t` works fine. It won't automatically convert `http://президент.рф/` if that's what you were expecting. – Martin Smith Dec 25 '13 at 13:13
  • Hi there. Thanks for observation. I have some kind of bug in my ado.net code. I will need to investigate. – Radenko Zec Dec 25 '13 at 14:03

0 Answers0