Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: -proper- with portuguese/spanish characters
From
Ronnie Babigumira <[email protected]>
To
[email protected]
Subject
st: -proper- with portuguese/spanish characters
Date
Thu, 26 Apr 2012 13:31:10 +0200
Dear listers
Stata 12.1 on a Mac OS X (10.6.8)
Any idea how to get -proper- to correctly format a string variable that has Portuguese/Spanish characters. As an example
- di proper("ripão poraqueíba") -
gives me
RipãO PoraqueíBa
Stata caps the first letter right after the portuguese character (even when this letter is in the middle of the word).
This behavior carries through for whole variable so for example, the same result as above would result from
gen name2 = proper(name)
Thanks,
Ronnie
--
010100100110111101101110011011100110100101100101
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/