I am having trouble understanding why some of the extended ASCII characters don't display in Stata. Consider this loop that goes though ASCII codes and tries two methods of displaying them:
Characters 128, 130-140, 142, 145-156, and 158-159 are not showing up for me using -uchar()-, though they are all printable. These are displayed correctly by -ustrfrom(char(`v'),"windows-1252",1)-.
What I am having trouble getting my mind around is why this part of the extended ASCII characters fails, but latter part (including other currency symbols, like 163/£ and 165/¥) displays correctly?
Code:
set more off foreach v of numlist 33(1)255 { display "`v': " uchar(`v') " OR " ustrfrom(char(`v'),"windows-1252",1) }
What I am having trouble getting my mind around is why this part of the extended ASCII characters fails, but latter part (including other currency symbols, like 163/£ and 165/¥) displays correctly?
Comment