Re: [docs] [PATCH 4/4] recipe-style-guide: Prune unicode from code example

Quentin Schulz <[email protected]> Mon, 27 Jul 2026 19:18:47 +0200
Newsgroups org.yoctoproject.lists.docs
Message-ID <[email protected]>
Hi Niko,

On 7/27/26 6:35 PM, Niko Mauno via lists.yoctoproject.org wrote:
> [You don't often get email from [email protected]=
g. Learn why this is important at https://aka.ms/LearnAboutSenderIdentifica=
tion ]
>=20
> From: Niko Mauno <[email protected]>
>=20
> Copy-pasting example segment containing unicode characters causes
> breakage like:
>=20
>    ERROR: ParseError at .../foobar.bb:158: unparsed line: 'RDEPENDS:${PN}=
 =3D =E2=80=9Cfoo=E2=80=9D'
>=20
> therefore replace the unicode characters in the example with regular
> ASCII characters.
>=20

There's one additional location where we use those special characters,=20
in documentation/contributor-guide/identify-component.rst, would you=20
mind sending a patch for this as well please?

I think it'd be nice to add a check in pre-commit such that those=20
characters never (well, if one runs pre-commit :) ) make it to the docs=20
again. Is this something you'd be interested in looking into maybe?

Reviewed-by: Quentin Schulz <[email protected]>

Thanks!
Quentin