On 2022-05-25, at 11:05, William Lupton <[email protected]> wrote: > > I think this partly depends on the general attitude to non-ASCII characters, > e.g., are accented words tolerated, encouraged, frowned upon or forbidden?
Long discussion, including CVEs like: https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html > Are programming languages in general tolerant of smart quotes for defining > strings (I don't know but I suspect not)? Certainly not. This would be a major innovation, trading convenience for correctness. It also wouldn’t be backwards compatible: description "like “foo”, this doesn’t create a “bar”."; (I had to be careful typing this, I hope I didn’t mess up.) > If not then I don't think that YANG should be either. But the tools could > generate better error messages if they are inadvertently used! Yes. This is probably a bit harder than one might think, in the presence of examples like the above. Grüße, Carsten > On Wed, 25 May 2022 at 10:01, Carsten Bormann <[email protected]> wrote: > On 2022-05-25, at 10:51, William Lupton <[email protected]> wrote: > > > > "Coalesced revision history entries for 2018-06-28.”; > > Wonderful example. I’m wondering whether the next version of CDDL should > simply accept typographic quotes in place of the typewriter quote… (and, as > the example demonstrates, any weird mix of them.) > > Grüße, Carsten > _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
