latex-lineno / lineno

lineno – Line numbers on paragraphs
Other
11 stars 2 forks source link

Fix invalid UTF-8 character #10

Closed fezjo closed 10 months ago

fezjo commented 10 months ago

The character was encoded as \xFC, which is the valid encoding for the author's name in Latin-1 encoding. However, when UTF-8 characters were added to the file, this representation became invalid.

It triggers an annoying warning in various programs (e.g. XeLaTeX, Tectonic) for every document build. Example in Tectonic:

warning: lineno.sty:296: Invalid UTF-8 byte or sequence at line 296 replaced by U+FFFD.

Many other people also seem to have this problem, as similar warning is featured in their logs on the internet. image

Today, 12th November 2023, marks the anniversary of the line's addition. It has remained untouched for exactly 20 years.

kwwette commented 10 months ago

Thanks for the PR @fezjo