netmod-wg / yang-next

Feature requests for future versions of YANG
6 stars 0 forks source link

Further restrict YANG Unicode to exclude "del" and C0 control characters #125

Open rgwilton opened 6 months ago

rgwilton commented 6 months ago

See Unicode Assignables, section 4.3, that defines the table of Unicode assignable characters.

This matches what is in RFC 7950, 'yang-char', page 209, except that YANG allows characters in the range %x20-D7FF, but draft-bray-unichars-07 splits this into two ranges to also exclude C1 control characters and DEL:

   %x20-7E /                       ; exclude C1 Controls and DEL
   %xA0-D7FF /                     ; exclude surrogates

It would probably be helpful for the next version of YANG to be updated to also exclude these characters, and perhaps reference one of the "Character Repertoires", if that draft-bray-unichars progresses.

abierman commented 1 week ago

Do not support any NBC changes for this purpose

Not Now; complexity: unknown, bc: low, importance: low