Search code examples
unicodestata

Unicode variable labels


I have a dataset but its variable labels are in unicode like this:

enter image description here

I tried typing:

unicode

However, this simply displays the following:

enter image description here

How can I correctly display the unicode?

Or, at least, is there any method I can see the labels using another program?


Solution

  • Assuming your data are in a file data.dta in your working directory (where Stata should point):

    clear
    unicode encoding set euc-kr
    unicode translate data.dta
    

    Type help encodings from Stata's command prompt for details regarding the different formats.