https://github.com/rust-lang/rust/issues/28979 plenty of discussion here on Unicode including homoglyph attacks. This is for Rust but has links to Go and Zig. The Unicode standard also has extensive discussion, for example https://unicode.org/reports/tr31/ and http://unicode.org/reports/tr39/ on identifiers and security.
In general a multilayer solution is needed: compilers, linters, Unicode standard, merge tools, editors, and so on.