Puny code and IDN(International Domain Name)

quote:
code in google.cfm
<cflocation url='
http://www.google.co.kr/search?q=#listFirst(cgi.server_name,'.')#'
addToken='no'>
The code above is in
http://www.dot.kr/test/google.cfm.
if you click the above link it will go to google search page
with the keyword "
www."
if you change the sub-domain "www" to another word, it will
go to google search page with the keyword "
another word."
You can test it with the links below.
http://book.dot.kr/test/google.cfm
book
http://note.dot.kr/test/google.cfm[
note
http://adobe.dot.kr/test/google.cfm
adobe
http://movie.dot.kr/test/google.cfm
movie
http://coldfusion.dot.kr/test/google.cfm
coldfusion
http://e.dot.kr/test/google.cfm
the alphabet
e
The links above works fine as I expected.
when the sub-domain is English, it works fine like the links
above.
But the sub-domain is non-English, it goes to google search
page with the keyword in PUNY Code (xn-code).
For example,
The following link doesn't work correctly because the
sub-domain is non-English.
http://é.dot.kr/test/google.cfm
the alphabet
é
If you click the link above, it will go to google search page
with the keyword "
xn--9ca" instead of "
é"
xn--9ca" is the PUNY Code (xn code) of the IDN(international
domain name) "
é."
I like to make it go to google search page with the IDN
keyword instead of
the puny code keyword when a user enters IDN sub-domain.
(I like to make it go to google search page with the IDN
keyword "
é" instead of the puny code keyword "
xn--9ca')
Any suggestion will be appreciated.

As IE7 is on the road, most major browsers support
IDN(International Domain Name)
I think Server-scripting language should support IDN,
i.e. we should read IDN in server-scripting languages.
I've heard that there are some clues for reading IDN in PHP.
http://pear.speedpartner.de/apidoc/I18N_Punycode/I18N_Punycode/_Punycode_Punycode_php.html
http://phlymail.de/index.php?sid=79a...oads&what=idna
http://www.phpclasses.org/browse/file/5845.html
Then, why can't ColdFusion read IDN?
For example,
#cgi.HTTP_HOST in ColdFusion read EDN(English Domain Name).
We need a kind of cgi variables which is likely named
"cgi.HTTP_IDN" which can read IDN instead of PunyCode.
How can I read IDN in ColdFusion?
Any suggestion will be appreciated.

Similar Messages

  • Reading idn(International Domain Name)

    quote:
    <cfoutput>
    #listFirst(cgi.server_name,'.')#
    </cfoutput>
    I have the code like the above in my webPage
    "subDomain.cfm."
    (1)
    http://korea.dot.kr/test/subDomain.cfm
    (2)
    http://한국.dot.kr/test/subDomain.cfm
    If you click the link (1) in the above, you will read
    "korea."
    If you clikc the link (2) in the above, you will read
    "xn--3e0b707e."
    "xn--3e0b707e" is the puny code for the IDN
    "한국" which means "korea" in korean language.
    I like to read the IDN "한국" instead of the puny
    code "xn--3e0b707e."

    As IE7 is on the road, most major browsers support
    IDN(International Domain Name)
    I think Server-scripting language should support IDN,
    i.e. we should read IDN in server-scripting languages.
    I've heard that there are some clues for reading IDN in PHP.
    http://pear.speedpartner.de/apidoc/I18N_Punycode/I18N_Punycode/_Punycode_Punycode_php.html
    http://phlymail.de/index.php?sid=79a...oads&what=idna
    http://www.phpclasses.org/browse/file/5845.html
    Then, why can't ColdFusion read IDN?
    For example,
    #cgi.HTTP_HOST in ColdFusion read EDN(English Domain Name).
    We need a kind of cgi variables which is likely named
    "cgi.HTTP_IDN" which can read IDN instead of PunyCode.
    How can I read IDN in ColdFusion?
    Any suggestion will be appreciated.

  • Cant Launch Firefox from Mac with UTF8 International Domain name

    From a Mac running OSX 10.7, I Launch Firefox with a UTF-8 string containing an international domain name:
    I try to launch http://www.vihtilä.fi and Firefox responds: Can’t connect to http://www.vihtil\xc3\xa4.fi but the address bar string is correct. If I copy the address bar string, and paste it back into the address bar, then hit enter, the site opens. Safari and Chrome launch the correct site.
    \xc3\xc4 is the UTF8 representation of 'ä'
    Firefox on Windows works correctly, but I pass it a WCHAR (UTF16) name.

    That is weird.<br />
    The forum makes a correct and working link (www.vihtilä.fi) via preview, but changes the URL to the escaped encodeURI version when it is posted.
    I can't replicate what you are doing, but the page opens via a desktop shortcut with "<b>-url http://www.vihtilä<i></i>.fi</b>" command line parameter.

  • CA stops Internal domain names for certificates

    I have got this information from digicert http://www.digicert.com/internal-names.htm  is there any way to ensure all clients works properly.
    Should we have to change our internal domain names to external ones, this will be a problem and visible. It gives us insecured feeling.
    Experts please throw your views.
    Thanks!
    Regards, Ganesh, MCTS, MCP, ITILV2 This posting is provided with no warranties and confers no rights. Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

    Hi,
    Thanks for the great information from Andy.
    Following is some detailed information on Split DNS, just for your reference:
    Split-brain DNS is known by a number of names, for example, split DNS or split-horizon DNS. Simply, it describes a DNS configuration where there are two DNS zones with the same namespace – but one DNS zone services internal-only requests, and the other
    DNS zone services external-only requests. However, many of the DNS SRV and A records contained in the internal DNS will not be contained in the external DNS, and the reverse is also true. In cases where the same DNS record exists in both the internal and external
    DNS (for example, www.contoso.com), the IP address returned will be different based on where (internal or external) the query was initiated.
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Difference between 006 DNS Servers and 015 DNS Domain Name

    hi,
    what's difference between 006 DNS Servers and 015 DNS Domain Name?
    please guide me.

    Hi
    Option 006 DNS servers           = IP Address of your DNS Server, e.g, 10.10.10.1
    Option 015 DNS Domain Name       = test.local, your domain name.
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Problem with IDN (internationalized domain name)

    i want load images from a domain which contain non-latin character (ex:  www.bücher.com) but Flash only display a secury message.
    how to resolve this issue , please help me .Thanks.
    I use as3.

    Firefox only shows the IDN name if the TLD is white-listed.<br />
    The .net domain isn't in that list and thus shows as puny code.
    *http://www.mozilla.org/projects/security/tld-idn-policy-list.html
    See also:
    * [http://kb.mozillazine.org/network.IDN.whitelist.*]
    Use the Google cache in case of problems accessing the MozillaZine KB (prefix links with cache:)
    *[http://www.google.com/search?hl=en&ie=UTF-8&q=cache:http://kb.mozillazine.org/network.IDN.whitelist.*]

  • Internal Domain names

    I know what a domain name is for the external web, but what forms of words are acceptable to OS X Server for an intranet? I don't want to have to pay to register a domain name acceptable to the rest of the web, I just want something meaningful for my intranet such as "diary" or "wiki" - or even an IP address alone.
    Do they all have to end in .local or will a single word be OK? Should they all start with http://www. or something else? OS X Server help just assumes any website being set up is for world use, and there are no instructions if you just want to set up a private intranet visible only to people on the internal network but invisible to the outside world.
    Where can I go for guidance/what formats are acceptable, please?
    Many thanks.

    Internal domains can be whatever you want. It doesn't have to be a .com, .net or even .local
    If you want you can have your own domain .bar then you can have foo.bar as a hostname in that domain.
    Since it's only used internally it won't have any impact on anyone outside of your network.
    Similarly, if you really wanted to, you could call your own domain 'apple.com' and then have a hostname of basilisk.apple.com pointing to your machine. Of course, this would impact your ability to get to any other .apple.com hostname, so you might not want to do that, but it is possible.
    As for the 'single word' question, by definition a hostname is a component of your domain which would mean that 'foo' isn't strictly valid, however, you can configure your machine (System Preferences -> Network -> TCP/IP -> Search Domains) to automatically append specific domain names to any lookup. If you set this to 'bar' then a lookup for 'foo' would automatically look up 'foo.bar' and you'd get the result you're looking for.
    Finally, for now, there is no requirement to have 'www' as pointing to your web server. That's just a common convention used around the internet. It's just as valid to have fred.bar as your web server and barney.bar as your mail server if that's what you want.

  • DNS not querying/ recognizing/ resolving internal domain name using nslookup

    I've setup a virtual lab for practice purpose on VMware 8 workstation.
    I have already asked this question in vm community but still got no answers hence asking it here.
    In my vmware workstation 8, for practice lab purpose my setup is as follows:-
    1] Win 2k8R2 Enetrprise edi.vm as my DC with DNS & DHCP configured and working perfect. DNS is getting resolved internally via NSLOOKUP. Server has manual ip assigned...192.168.1.xx series.
    2] Win xp vm as my Client and getting dhcp lease address from the above DC and also the DNS is getting resolved internally via NSLOOKUP.
    Now that these two vms are communicating perfectly with each other, I thought about connecting them to my physical internet.
    So, in the Virtual network editor, I added a Host-only type network named
    VMnet 04 with Use local dhcp service checkbook Disabled and on each of these vms, in network adapter settings, selected specific virtual network and pointed it to
    VMnet 04 in both vms.
    Now, in both the vms, an additional network connection got added and hence was successfully able to browse internet from both vms.
    Now the REAL problem:--
    After the above configuration, when I do NSLOOKUP on the DC, the DNS doesnt resolves external sites on the internet.
    I havent specified any kind of conditional forwarding etc.., its a simple DNS setup.
    I want it to resolve to the internal domain and also be connected to the internet .
    What setting do I need to do in DNS or in VM network?
    I tried almost all types of settings in vm virtual network editor by specifying dns manually and so on but none worked.

    Sorry my bad.... slight mistake in my question...Here is my corercted query--
    After successfully connecting to the internet, when I do NSLOOKUP on the DC, the DNS doesnt resolve my internal domain/site but instead resolves external sites on the internet.
    My computer FQDN is nri.wwe.com
    Domain dns name is wwe.com
    The above should get resolve internally but it searches on the internet.
    This is how it should work
    & it works perfect when I disable the other NAT network adapter (i.e. disable internet connectivity on my virtual DC)
    C:\>nslookup nri.wwe.com
    Server:  nri.wwe.com
    Address:  192.168.1.11
    Name:    nri.wwe.com
    Address:  192.168.1.11
    But when I again enable internet connectivity, this it what happens.
    C:\nslookup www.wwe.com
    DNS request timed out.
        timeout was 2 seconds.
    Server:  UnKnown
    Address:  192.168.12.2
    DNS request timed out.
        timeout was 2 seconds.
    Non-authoritative answer:
    DNS request timed out.
        timeout was 2 seconds.
    Name:    www.wwe.com.nsatc.net
    Address:  64.152.0.124
    Aliases:  www.wwe.com
    And when I again nslookup, this is what I get,
    C:\>nslookup www.wwe.com
    DNS request timed out.
        timeout was 2 seconds.
    Server:  UnKnown
    Address:  192.168.12.2
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to UnKnown timed-out
    Now this 192.168.12.2 is VM assigned DNS via VM Natting with its own DHCP. If we do it manually, none of the virtual machines can connect to the internet. So I cannot fiddle with it anymore as I have already that as well.

  • Use only IP-number and skip web domain name?

    I have a Mac Mini Server and I am about to order an external firewall device. The firewall will be used with vpn to get access to the server from the internet. Access to the server will only be for my colleages . The server should not be accessible for other people at all (e.g., no public website, etc).
    Here comes my newbie question…is it possible to only use my static public IP number to get access to the server through vpn? Do I really need a a web domain name?
    Do I really need to get dns involved on the outside?
    At the moment I am using my servers Wiki and blog by typing in the IP-number in the browsers address field. It would be fine with with me to continue with that.

    is it possible to only use my static public IP number to get access to the server through vpn? Do I really need a a web domain name?
    Sure. if you can remember your IP address you can use that anywhere. DNS exists because there are literally millions of IP addresses out there and human brains are better at remembering words (e.g. 'discussions.apple.com') than they are numbers (e.g. '64.212.100.59').
    Do I really need to get dns involved on the outside?
    Since it's only you and your colleagues, not at all.
    At the moment I am using my servers Wiki and blog by typing in the IP-number in the browsers address field. It would be fine with with me to continue with that.
    It's also not hard to setup a local DNS for your internal systems - once you're connected to VPN you'd automatically start using the internal DNS server and would be able to use memorable names, but it's entirely your choice.

  • Internal Domain Names (good or bad?)

    I'm just trying to establish what's good or bad about internal domain naming. I've currently got server.office (when viewed internally) but server.externaldomain.co.uk when viewed externally. But now the time has come to upgrade the servers and it seems a good time to reevaluate the naming and ip status of stuff. My question is that should a network's server and computers have internal dns (ala .office) or external naming linked to internal ip's (computer01.external.co.uk - 10.0.0.2)? What's the advantages of both.
    Thanks.

    Personally I'd stick with the same name from a user's perspective, independent of whether you're using separate DNS zones internally.
    Using mail as an example, you might configure 'mail.domain.co.uk' as the hostname for your mail server.
    By publishing that name in both the internal and external DNS you only need to tell users to configure their mail client to talk to mail.domain.co.uk and they'll always get connected. The magic of DNS means they'll resolve the public IP address if they're outside the network, and the private IP address if they're in the office (or on VPN, etc.). Now users don't need to maintain separate mail profiles for internal and external accounts.
    Now, whether or not mail.domain.co.uk is the actual hostname of the machine on the internal network is a different matter altogether. This could easily be CNAME'd to mailserver.office on the internal zone, allowing you to maintain the .office zone on the inside network which has advantages in that you know you should never serve .office to external clients.
    Personally, in my network, there are no externally-visible hostnames that match the actual machine names.

  • Internal Domain Name

    Hello,
    I am about to setup a new domain and was wondering what the new Microsoft standard is for a local domain name?
    is using .local, or .lan still the standard or should we be using the companies main domain? company.com?
    I've also seen some recommendations on using internal.company.com.
    Any advise or recommendations would be appreciated.

    Hello,
    Yes. We recommend you use internal.company.com instead of .local.
    Cara Chen
    TechNet Community Support

  • MSExchangeTransport 12014 3rd Party SSL Certificate does not match internal domain name.

    I have a co-existance of Exchange 2003 and Exchange 2010 and after installing a new 3rd party cert I'm getting The following error.   All mail is flowing and OWA is working. 
    Microsoft Exchange could not find a certificate that contains the domain name Exchange.domain.local in the personal store on the local computer. Therefore, it is unable to support the STARTTLS SMTP verb for the connector Default EXCHANGE with a FQDN parameter
    of Exchange.domain.local. If the connector's FQDN is not specified, the computer's FQDN is used. Verify the connector configuration and the installed certificates to make sure that there is a certificate with a domain name for that FQDN. If this certificate
    exists, run Enable-ExchangeCertificate -Services SMTP to make sure that the Microsoft Exchange Transport service has access to the certificate key.
    Our GoDaddy UC SAN cert is not allowed to have .local SAN names, so I have no way of adding it to the cert.   Is it possible for me to install a local CA and generate a self signed cert for the personal store or would it be better to disable
    TLS for the receive connector?  

    Change the name on the Receive Connector (2010) or on the SMTP Virtual Server (2003) to match the name in the new certificate. One of them is sending the "exchange.domain.local" in the 220 banner when it accepts a connection.
    --- Rich Matheisen MCSE&I, Exchange MVP

  • Finding IP and fully qualified domain name.

    Okay i have a java program taht runs on ubuntu the latest version. I got java 6.0 using apt-get install. oKay now i wrote a server socket program. But what it also should do is get the fully qualified domain name of the system and its ip address. So now my system is called "tools.myproject.com" okay. I dont have system registered under a domain or somethign but i specify it in my /etc/hosts file. since linux also uses the /etc/hosts file to resolve domain names. Now is there anyway in java that i can get this name. If not that then is there a way i can get the ip of this machine, which is not the loop back address. When i do the InetAddress.getLocalHost().getHostaddress() method or whatever thats there in the documentation i get the loop back address thats specified thats 127.0.0.1 and the canonicalname for taht is some rubbish that i dont need. So can anyone help me out.
    Also i found some NetworkInterface class from which i can get the IP Address of the machine. Also the Canonical Name i get from the IpAddress does it look at the /etc/hosts file or the DNS server?
    Thanks!
    Edited by: mynameissriharsha on Jul 14, 2008 2:42 PM

    Try this
    InetAddress[] inet = InetAddress.getAllByName(InetAddress.getLocalHost().getHostAddress());
    for (int x = 0; x < inet.length; x++)
        System.out.println
            ("IP " + (x + 1) + ": " + inet[x].toString().substring(1));
    }

  • HUB showing contact number with country code and not with its name..blackberry Z10 STL100-2

    I have an issue with Text Messages and call lists, in my blackberry Z10 (STL100-2), which is, If I have not saved my contact numbers without country code, the msg may appear in local formate (w/o country code), and it also appear as International formate (another times), and though the number is same (only saperate is country code) in the hub, it appear as two conversation. for eg: if I sent txt to 9899100 (w/o country code), reply used to come as +960-9899100. or vice-versa.
    So its very difficult. and here i came for help.
    You might know a lot what we do not know as we do know a lot you do not know. Asking is the way to get to know....

    The movies were all on my SD card. They are also not backed up by Link which is why had them synced to my phone as a poor man's backup.
    So either Link did not backup the necessary licensing information in the main memory of my phone, or Link did not synchronize the necessary licensing information off my SD card. Either way I am stuck with 3 movies that I cannot play, because I can no longer find them in the BlackBerry World store to re-dowbload whatever licensing information is needed.
    I even just tried a media restore from Link because it was 138 MB in size (and in don't normally store anything on my phone's main storage), but alas no licensing information was restored.

  • Dynamic ip and your own domain name (how-to)

    Not sure what the usability of it is for other people, but here is how I did it..more or less.
    http://wiki2.archlinux.org/index.php/Zo … namic%20IP
    *shrug*
    Maybe it will help someone out there.

    Hmm, what about adding some other free DNS services, and a bit more general info, like what it is about, for the people that don't know what DNS stands for? In its current form it looks like a sort of advertisement for that site and it doesn't add any additional info beyond their FAQ.

Maybe you are looking for

  • Advice / Help needed on how to tackle this mountain...

    First, I've scoured the forums looking for an answer and some clarity, but have come up empty. Any advice or help you can offer will be greatly appreciated... So I'm trying to tackle the feat of sorting though thousands of MP3s in several different f

  • Maverick: doc saving function in Word for Mac

    I just downloaded Maverick for my 2010 iMac. I'm happy with it but for one problem: saving documents in my Word for Mac 2008 is a royal pain. Instead of the good old one-step save process under Snow Leopard's Word for Mac, Word/Maverick now requires

  • Data is missing in Even Page when report running in background (spool)

    Hi I have this weird problem in my report. The report would run in background convert the data in to PDF from spool and then email it to people. Now when the PDF has more then 1 page the error occurs. It drops the last row from the even page. The tot

  • D key popped out (fixed now) and asterisk key not working

    OK- Here is the score: I had a wee accident with the PB- the dog scrapped past the keyboard dislodging the D key which popped up (I thought it was broken- BOY was I upset! Fiddled for hours and found that the wee scissor was OK but popped out... It i

  • Web Service Testing Problem

    Hi All,         I create a new customize web service for service confirmation through Web UI in CRM7.0 .I activate the service in Productive mode .After that 2 new button is coming (WSDL and Test Page) in same page.when i click on WSDL button ,i got