2

I came across a URL with non-Latin characters, featuring Korean glyphs:

http://en.wiktionary.org/wiki/여보세요

Copying it gives me another URL:

http://en.wiktionary.org/wiki/%EC%97%AC%EB%B3%B4%EC%84%B8%EC%9A%94

What technology is behind this? Is it just Google Chrome browser "magic" or is there indeed some UTF-8 or similar stuff behind it?

2 Answers 2

5

Technology behind this is called Internationalized Resource Identifiers (IRIs) and it's defined in RFC 3987. It's use in URLs is defined in RFC 3986. Characters are indeed encoded in UTF-8. The "unreadable" form is UTF-8 converted using raw percent-encoding.

1

The characters will have to be encoded as in your "unreadable" version in order to be properly interpreted by all software.

What must be happening in Chrome is that these are being converted to their Unicode version for display only.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.