I am experiencing an issue with the data editor displaying string ampersands (ASCII Code 38) in Stata 18.0 MP (current update level 5/15/23). Stata 17.0 MP displays them fine. Both instances running on Windows 11.
When the ampersand is between two strings, Stata 18 data editor displays an (half) underscore in the place of the ampersand and the space after. An ampersand alone displays blank, and a string of three ampersands with no spaces displays at a single ampersand. For example, this
will display in Stata 17 MP as

in Stata 18 MP the data editor displays as

Is there a setting that needs to be changed or is this a bug? Aside from font and alignment settings in Stata 17, all settings from query are the same between Stata 17 and 18, and Stata 18 is at the default settings. Changing the font did not change the display.
Thanks for any assistance.
When the ampersand is between two strings, Stata 18 data editor displays an (half) underscore in the place of the ampersand and the space after. An ampersand alone displays blank, and a string of three ampersands with no spaces displays at a single ampersand. For example, this
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str12 var1 "Jack & Jill" "Arm & Hammer" "&" "& & & &" "&&&" " && & &" end
in Stata 18 MP the data editor displays as
Is there a setting that needs to be changed or is this a bug? Aside from font and alignment settings in Stata 17, all settings from query are the same between Stata 17 and 18, and Stata 18 is at the default settings. Changing the font did not change the display.
Thanks for any assistance.
Comment