How I can get a page from internet, if I have cyrillic domain (http://президент.рф/) with Delphi 7.
Thanks!
ru” is the ccTLD reserved for use in Russia; “. su” was the ccTLD registered by the Soviet Union but that remains in use by Russia; and “. pф” (representing “rf” in Cyrillic) is another Russian ccTLD under ICANN's Internationalized Domain Name (IDN) program.
ua is the Internet country code top-level domain (ccTLD) for Ukraine. To register at the second-level (example) domainname.ua, possession of the exact trademark (matching the domain name) is required.
The . SPACE domain lets innovators and creative minds create their own unique corner of the web. Perfect for freelancers, writers, designers, and more, the open-ended domain allows users to create a web environment unique to their interests. In a more literal sense, .
A . CODES domain name could be used to refer to programming code, video game tips and tricks, codes of conduct, or anything else related to the word “code.” It's an open domain extension with no restrictions.
I have written a punycode encoder/decoder available here:
http://code.google.com/p/delphionrails/source/browse/trunk/src/dorPunyCode.pas
usage:
function PEncode(const str: UnicodeString): AnsiString;
var
len: Cardinal;
begin
Result := '';
if (PunycodeEncode(Length(str), PPunyCode(str), len) = pcSuccess) and (Length(str) + 1 <> len) then
begin
SetLength(Result, len);
PunycodeEncode(Length(str), PPunyCode(str), len, PByte(Result));
Result := 'xn--' + Result;
end else
Result := AnsiString(str);
end;
Format('http://%s.%s', [PEncode('президент'), PEncode('рф')]);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With