Stata 15 help for unicode_advice

Advice on using Unicode

Stata is Unicode (UTF-8) aware. This means that you can include accented characters,

á è í ô ü ý ç ...

include symbols,

£ ¥ € ≤ ≥ ≠ ∑ ...

and even include non-Latin characters,



You may include them in your .dta files, do-files, ado-files, and other Stata files.

All of Stata is Unicode aware. You may use Unicode for variable names, labels, data, and anywhere else you wish. And, it means that when you share data, others will see what you see.

You need to translate your .dta files, ado-files, and do-files if you are migrating from Stata 13 or earlier and if you previously used extended ASCII to include accented characters, special symbols, or non-Latin characters in your Stata files.

See the command unicode translate.

Plain ASCII files do not need translating. Modern Stata will work even with old datasets using extended ASCII, but the extended ASCII characters will not display correctly.

Learn more about using Unicode in Stata:

See [U] 12.4.2 Handling Unicode strings.

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index