The Söhne Mono font used for code has the exact same character for the number 0 and an uppercase O

As specified, it’s impossible to tell whether a character is a zero or an uppercased O with the font chosen for the code ChatGPT generates. It looks like there is a feature for this font to use a slashed zero, so ideally that would be used instead.

This was observed on Safari Version 16.5 (18615.2.9.11.4) on MacOS 13.4, in case that makes a difference

Example output from ChatGPT:

image

1 Like