I’ve got a program that displays text files, and I’m having a slight problem in that certain characters in ANSI text files (mostly dashes and quotes) are showing up as boxes. The TextEdit component seems to handle it just fine, but calling drawText doesn’t, and for various reasons I have to do custom drawing.
What am I missing here?
Update: Got it working via a lookup table that does an extremely crude ANSI to Unicode translation. I’m still wondering if there isn’t a better (as in, more general) way to do it though.
