Just published a userstyle for the Stylus Firefox extension¹ that removes the ambiguous character warnings on @Codeberg code listings (for example, when you use proper curly quotes in comments and strings, etc.)
Should work with any @forgejo install if you tweak the domain it pertains to.
https://userstyles.world/style/13057/remove-ambiguous-character-warnings-on-codeberg