# Can "This file contains ambiguous Unicode characters" warning ignore comment lines?

**URL:** <https://forum.gitea.com/t/can-this-file-contains-ambiguous-unicode-characters-warning-ignore-comment-lines/8346>\
**Category:** General\
**Created:** [December 21, 2023, 8:17am UTC](https://forum.gitea.com/t/can-this-file-contains-ambiguous-unicode-characters-warning-ignore-comment-lines/8346 "2023-12-21T08:17:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sodium-Aluminate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/sodium-aluminate/32/4288_2.png) [@Sodium-Aluminate](https://forum.gitea.com/u/Sodium-Aluminate)\
**Post date:** [December 21, 2023, 8:17am UTC](https://forum.gitea.com/t/can-this-file-contains-ambiguous-unicode-characters-warning-ignore-comment-lines/8346/1 "2023-12-21T08:17:08Z")

</div>

for example, I prefer using U+FF08 “（”, chinese erackets, for chinese comments, and I think ambiguous Unicode characters can’t used for attack in comments lines. So is not necessary to warning when comments lines have some ambiguous Unicode characters.

Is there a config to ignore ambiguous Unicode characters in comments lines?

[related page](https://forum.gitea.com/t/this-file-contains-ambiguous-unicode-characters/6834)

---

<div class="post-metadata">

**Author:** ![mooleshacat](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@mooleshacat](https://forum.gitea.com/u/mooleshacat)\
**Post date:** [November 23, 2024, 2:07pm UTC](https://forum.gitea.com/t/can-this-file-contains-ambiguous-unicode-characters-warning-ignore-comment-lines/8346/2 "2024-11-23T14:07:01Z")

</div>

Just want to say I’ve run into this same problem. I had a unicode character on a comment line, and it showed the error. I just removed the unicode character and it went away.

Ignoring comment lines would be a great idea, and maybe it would need to be an option because not everyone would want this functionality.
