# Warning about bidirectional Unicode text

DevFeed: [Warning about bidirectional Unicode text](<https://devfeed.tech/articles/warning-about-bidirectional-unicode-text-74281.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2021-10-31-warning-about-bidirectional-unicode-text>)

Author: phanatic

Published: 2021-11-01T00:57:10Z

Content type: article

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Syntax Highlighting](<https://devfeed.tech/topics/syntax-highlighting.md>), [Sublime Text](<https://devfeed.tech/topics/sublime-text.md>)

Tags: [2021](<https://devfeed.tech/tags/2021.md>), [code](<https://devfeed.tech/tags/code.md>), [common-vulnerabilities-and-exposures](<https://devfeed.tech/tags/common-vulnerabilities-and-exposures.md>), [cve](<https://devfeed.tech/tags/cve.md>), [display](<https://devfeed.tech/tags/display.md>), [editor](<https://devfeed.tech/tags/editor.md>), [file](<https://devfeed.tech/tags/file.md>), [hidden](<https://devfeed.tech/tags/hidden.md>), [issue](<https://devfeed.tech/tags/issue.md>), [security](<https://devfeed.tech/tags/security.md>), [source](<https://devfeed.tech/tags/source.md>), [source-code](<https://devfeed.tech/tags/source-code.md>), [trojan](<https://devfeed.tech/tags/trojan.md>), [unicode](<https://devfeed.tech/tags/unicode.md>), [user-interface](<https://devfeed.tech/tags/user-interface.md>), [warning](<https://devfeed.tech/tags/warning.md>)

## AI overview

A warning appears when a file contains bidirectional Unicode text because hidden characters can make code look different from how it is interpreted or compiled, a security issue covered by CVE-2021-42574. If the characters are intentional and well-formed, the warning can be ignored. To inspect a flagged file, use an editor that displays hidden bidirectional characters, such as Visual Studio Code, and verify that they are necessary and not disguising code.

## Source excerpt

A warning is now displayed when a file's contents include bidirectional Unicode text. Such text can be interpreted or compiled differently than it appears in a user interface. For example,...