Tree to output Unicode text from CMD
I'd searched high and low in regards to command line output in unicode:

<http://stackoverflow.com/questions/1259084/what-encoding-code-page-is-cmd-exe-using>
<http://stackoverflow.com/questions/3780378/how-to-display-japanese-kanji-inside-a-cmd-window-under-windows>

etc but I can't get it to work.

I remember seeing a page in stackoverflow saying that it is `TREE` limitation and not CMD's limitation.

Thing is, I forgot what I did that day. I managed to generate this output from `cmd tree` command:

    Folder PATH listing
    Volume serial number is 0007EE40 283D:E05A
    C:.
    ¦§¦¡¦¡¦¡4minute (Æ÷¹Ì´Ö) - Hit Your Heart
    ¦§¦¡¦¡¦¡f(x) (¿¡ÇÁ¿¢½º) - NU ABO (EP)
    ¦§¦¡¦¡¦¡Hwanhee (È¯Èñ) - H Soul
    ¦§¦¡¦¡¦¡Kara (Ä«¶ó) Lupin (·çÆÎ) EP (3rd Mini Album)

And when I open the output.txt in MS Word, it allowed me to convert to Korean and works perfectly!

![Success Korean Char in Tree Output][1]

Now when I try to think back what I did, and tried it out, but this is all I get:

    Folder PATH listing
    Volume serial number is 7C910460 283D:E05A
    C:.
    ÃÄÄÄ4minute (???) - Hit Your Heart
    ÃÄÄÄf(x) (????) - NU ABO (EP)
    ÃÄÄÄHwanhee (??) - H Soul
    ÃÄÄÄKara (??) Lupin (??) EP (3rd Mini Album)

And here's what MS word shows, it chooses Japanese automatically but if I change to Korean it doesn't appear properly as well =(

![Failed Korean Chars in Tree Output][2]

I'd used commands like `chcp 65001`, and other codepages, `cmd /U /C tree > output.txt`, and even tried using `powershell cmd /U /C tree > output.txt` but to no avail. I tried switching the command prompt fonts as well (from `Raster` -> `Lucida Console`).

How did that happened? Up to date I'm still trying to reproduce the correct output from tree. Anyone?

TL;DR version -- I am trying to **reproduce** the output from tree where MS Word can successfully convert it to Korean characters. Tried commands like `chcp`, `cmd /U /C` but to no avail. Ideas?

p/s -- If this question is not clear, do let me know and I'll try to elaborate further. Thanks!

  [1]: http://i.stack.imgur.com/YXLuf.png
  [2]: http://i.stack.imgur.com/OYWeD.png
Tree to output Unicode text from CMD
===

I'd searched high and low in regards to command line output in unicode:

<http://stackoverflow.com/questions/1259084/what-encoding-code-page-is-cmd-exe-using>
<http://stackoverflow.com/questions/3780378/how-to-display-japanese-kanji-inside-a-cmd-window-under-windows>

etc but I can't get it to work.

I remember seeing a page in stackoverflow saying that it is `TREE` limitation and not CMD's limitation.

Thing is, I forgot what I did that day. I managed to generate this output from `cmd tree` command:

    Folder PATH listing
    Volume serial number is 0007EE40 283D:E05A
    C:.
    ¦§¦¡¦¡¦¡4minute (Æ÷¹Ì´Ö) - Hit Your Heart
    ¦§¦¡¦¡¦¡f(x) (¿¡ÇÁ¿¢½º) - NU ABO (EP)
    ¦§¦¡¦¡¦¡Hwanhee (È¯Èñ) - H Soul
    ¦§¦¡¦¡¦¡Kara (Ä«¶ó) Lupin (·çÆÎ) EP (3rd Mini Album)

And when I open the output.txt in MS Word, it allowed me to convert to Korean and works perfectly!

![Success Korean Char in Tree Output][1]

Now when I try to think back what I did, and tried it out, but this is all I get:

    Folder PATH listing
    Volume serial number is 7C910460 283D:E05A
    C:.
    ÃÄÄÄ4minute (???) - Hit Your Heart
    ÃÄÄÄf(x) (????) - NU ABO (EP)
    ÃÄÄÄHwanhee (??) - H Soul
    ÃÄÄÄKara (??) Lupin (??) EP (3rd Mini Album)

And here's what MS word shows, it chooses Japanese automatically but if I change to Korean it doesn't appear properly as well =(

![Failed Korean Chars in Tree Output][2]

I'd used commands like `chcp 65001`, and other codepages, `cmd /U /C tree > output.txt`, and even tried using `powershell cmd /U /C tree > output.txt` but to no avail. I tried switching the command prompt fonts as well (from `Raster` -> `Lucida Console`).

How did that happened? Up to date I'm still trying to reproduce the correct output from tree. Anyone?

TL;DR version -- I am trying to **reproduce** the output from tree where MS Word can successfully convert it to Korean characters. Tried commands like `chcp`, `cmd /U /C` but to no avail. Ideas?

p/s -- If this question is not clear, do let me know and I'll try to elaborate further. Thanks!

  [1]: http://i.stack.imgur.com/YXLuf.png
  [2]: http://i.stack.imgur.com/OYWeD.png