UNICODE2ASCII: Stata modules to translate between Unicode and ASCII
Svend Juul () and
Morten Frydenberg ()
Additional contact information
Svend Juul: University of Aarhus, Denmark
Morten Frydenberg: Aarhus University, Denmark
Statistical Software Components from Boston College Department of Economics
Abstract:
These commands analyze and translate single files or groups of files in the current directory. whichencoding examines the occurrence of Unicode and extended ASCII characters in Stata datasets and text files like do-files, ado-files, help files and log files. This is useful to determine the need for translation when sharing Stata files between users or computers with different versions of Stata installed. The official unicode analyze command serves the same purpose, but the output from whichencoding is more compact and transparent. ascii2unicode translates Stata datasets and text files with extended ASCII characters to Unicode encoding. The official unicode translate command serves the same purpose, but the output from ascii2unicode is more compact and transparent, and you have access both to Unicode and ASCII versions of datasets and text files at the same time. unicode2ascii translates Stata datasets and text files with Unicode characters to ASCII encoding and saves datasets in Stata 13 or 12 format. Variable names, label names and contents (including labels in different languages), string variable contents, and notes are translated. Currently (February 2016), no official Stata command serves the same purpose.
Language: Stata
Requires: Stata version 14.1
Keywords: ASCII; Unicode; encoding; version; translation (search for similar items in EconPapers)
Date: 2015-07-18, Revised 2016-02-05
Note: This module should be installed from within Stata by typing "ssc install unicode2ascii". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/u/unicode2ascii.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/u/unicode2ascii.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/a/ascii2unicode.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/a/ascii2unicode.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/w/whichencoding.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/w/whichencoding.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458080
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().