4

I am building a website using Hangul and Hanja. What is the best way to incorporate those characters in my computer code so that they render appropriately in web browsers?

Are there any specific software-type programs used in Korea to build Korean language websites? For example, I know Microsoft Word can be used in Korean, but there is also the word processing program Hangul, which is used by many people.

Thank you!

2

1 Answer 1

7

Korean (Chinese, Japanese) characters are multibyte. Whenever dealing with multibyte characters, the recommendation is for your site encoding to use UTF-8.

<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

And as @teddy-cross notes, the HTML5, arguably equivalent but shorter version may be preferable since it's easier to remember; and yet, in many cases the absence of Content-Type in the server side header would make using the longer version preferable:

<!DOCTYPE HTML> <html> <head> <meta charset="utf-8">

As far as "what software should I use to create my website"...that is a discussion for another area outside Korean Language SE. Nevertheless, there may be some tips here that will assist you.

Good luck!

2
  • 1
    The standard way to set the charset is simpler: <meta charset="utf-8"> note that it must be the first tag in the <head> in order to load correctly. Commented May 11, 2017 at 2:56
  • 1
    @teddy-cross since the longer version has been with me since XHTML and was still validating, it was quietly in need of your comment to wake me up to the possibilities there. thank you. Commented May 11, 2017 at 12:26

Your Answer

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