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

Niko Mauno <[email protected]> Tue, 28 Jul 2026 10:31:11 +0300
Newsgroups org.yoctoproject.lists.docs
Message-ID <[email protected]>
On 7/28/26 9:07 AM, Niko Mauno via lists.yoctoproject.org wrote:
> Hi Quentin,
>=20
> On 7/27/26 8:18 PM, Quentin Schulz wrote:
>> Hi Niko,
>>
>> On 7/27/26 6:35 PM, Niko Mauno via lists.yoctoproject.org wrote:
>>> [You don't often get email from=20
>>> [email protected]. Learn why this is important=
=20
>>> at https://aka.ms/LearnAboutSenderIdentification ]
>>>
>>> From: Niko Mauno <[email protected]>
>>>
>>> Copy-pasting example segment containing unicode characters causes
>>> breakage like:
>>>
>>> =C2=A0=C2=A0 ERROR: ParseError at .../foobar.bb:158: unparsed line: 'RD=
EPENDS:=20
>>> ${PN} =3D =E2=80=9Cfoo=E2=80=9D'
>>>
>>> therefore replace the unicode characters in the example with regular
>>> ASCII characters.
>>>
>>
>> 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?
>=20
> Certainly, I have now submitted a new patch for fixing that particular=20
> issue also
>=20
>>
>> 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=20
>> docs again. Is this something you'd be interested in looking into maybe?
>>
>=20
> This sounds interesting, let me see if I could whip up such new pre-=20
> commit feature with LLM.

Actually, I've now submitted a v2 series, which incorporates the commits=20
I've submitted since yesterday, along with (LLM-aided) check-confusables=20
pre-commit hook and additional unicode clean-ups. I hope this helps,

-Niko

>=20
> -Niko
>=20
>> Reviewed-by: Quentin Schulz <[email protected]>
>>
>> Thanks!
>> Quentin
>=20
>=20
>=20
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> Links: You receive all messages sent to this group.
> View/Reply Online (#10152): https://lists.yoctoproject.org/g/docs/message=
/10152
> Mute This Topic: https://lists.yoctoproject.org/mt/120470254/3618471
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [niko.mauno@vais=
ala.com]
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>=20