And this macro would also work for Utf8? ________________________________ From: Florian Weimer <f...@deneb.enyo.de> Sent: Thursday, November 2, 2023 4:54 PM To: Roger Phillips via Dwarf-discuss <dwarf-discuss@lists.dwarfstd.org> Cc: Roger Phillips <heid...@hotmail.com> Subject: Re: [Dwarf-discuss] Do Dwarf symbols only use ascii?
* Roger Phillips via Dwarf-discuss: > My question is whether these symbols really need the locale > functionality of libc's isdigit function or if the symbols in Dwarf > are just standard ascii and could be parsed in a portable way with > the simple method mentioned there. I think the current understanding on the glibc side is that isdigit could be implement as #define isdigit(b) ((b) >= '0' && (b) <= '9') because isdigit recognizing alternate digits would not be compliant with the C standard. We just haven't got around to making the change in the headers.
-- Dwarf-discuss mailing list Dwarf-discuss@lists.dwarfstd.org https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss