Today I installed Stata 18BE on both a Windows 10 and Windows 11 machine. I have a number of .do files from Stata 12 (pre-Covid, long story) to produce graphs suitable for inclusion into lecture slides and manuscripts.
In my old .do files, I have a number of instances of the following line:
When I run the .do files in Stata 18, my graphs read "Figure 3?1", "Figure 3?2", and so forth.
I understand that this is probably a function of Stata's switch to UTF-8. But I've spent hours searching for a way to fix my code, to no avail. I tried the unicode analyze function on an old .do file, only to learn that my "File does not need translation". All I need is a way to embed an en dash in my note.
Apologies for cluttering up the forum with such a trivial issue, but I'm at a loss. Thank you to anyone who can help.
In my old .do files, I have a number of instances of the following line:
note("Figure `chnumber' `=char(150)' `gnumber'", ...)This labels my graphs "Figure 3–1", "Figure 3–2", and so forth.
When I run the .do files in Stata 18, my graphs read "Figure 3?1", "Figure 3?2", and so forth.
I understand that this is probably a function of Stata's switch to UTF-8. But I've spent hours searching for a way to fix my code, to no avail. I tried the unicode analyze function on an old .do file, only to learn that my "File does not need translation". All I need is a way to embed an en dash in my note.
Apologies for cluttering up the forum with such a trivial issue, but I'm at a loss. Thank you to anyone who can help.
Comment