> nxstyle should only complain if this is a source or build file, right?
> And only if if the unicode is outside of a comment.  Unicode characters
> are useful in .txtf, .md, a probably other file typles and also in code
> comments.

Of course I am talking strictly about .h/.c files. Documentation can use
anything.
However, I would also include comments.


> Some of these are are people's names or in documentation, I don't see any
> reason to update that.

These can be left as is. Although, I believe that even names shall use
ASCII letters only.
For example, my name is Φώτης. I wouldn't expect anyone else on this
project to actually know how to pronounce or write this...
Using the latin letters "Fotis" makes it much more "user-friendly".


On Mon, Oct 10, 2022 at 6:40 PM Gregory Nutt <spudan...@gmail.com> wrote:

> nxstyle should only complain if this is a source or build file, right?
> And only if if the unicode is outside of a comment.  Unicode characters
> are useful in .txtf, .md, a probably other file typles and also in code
> comments.
>
> There are flags in nxstyle that tells if you the type of file (by
> extension) and if nxstyle is parsing within a comment.
>
> On 10/10/2022 9:33 AM, Fotis Panagiotopoulos wrote:
> > Shall I enhance nxstyle to check for this? Is this the correct place for
> > this check?
> >
> > On Mon, Oct 10, 2022 at 6:30 PM Alin Jerpelea <jerpe...@gmail.com>
> wrote:
> >
> >> Let's remove them!
> >>
> >> Thanks for looking into this issue
> >>
> >> Best Regards
> >> Alin
> >>
> >> On Mon, 10 Oct 2022, 17:25 Alan C. Assis, <acas...@gmail.com> wrote:
> >>
> >>> Agree! It is better to avoid it.
> >>>
> >>> On 10/10/22, Fotis Panagiotopoulos <f.j.pa...@gmail.com> wrote:
> >>>> Hello!
> >>>>
> >>>> A few weeks ago I had some problems with a static analysis tool that
> >>>> couldn't parse NuttX code, due to non-Unicode characters. I provided a
> >>>> couple of PRs and fixed the issues, but it got me thinking...
> >>>>
> >>>> Do we really need Unicode characters within the codebase?
> >>>>
> >>>> I can only think of problems with this, from missing glyphs from
> fonts,
> >>> to
> >>>> difficulties in search...
> >>>> I don't see any value in writing μs instead of us, or I²C instead of
> >> I2C.
> >>>> What do you think?
> >>>> Shall we allow such characters, or enforce ASCII-only characters in
> the
> >>>> codebase?
> >>>>
>
>

Reply via email to