I confirm this when using accentuated French characters.
The copy is shortened by exactly one byte for each accentuated
character, which are represented as a pair of bytes in the raw string.

As an example the label "matériel électrique" would be copied as
"matériel électriq". The original string contains 19 characters, but is
21 bytes long. Only the first 19 bytes are copied, as if the number of
characters was used instead of the number of bytes. When the label is
written using only ASCII characters like "materiel electrique", it would
be copied correctly.

It seems this bug is recent in Jessie (it appeared only a few weeks ago
at most).


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to