Non displaying Unicode characters in libksysguard/KSysGuardFormatter.po

Oliver Kellogg olivermkellogg at gmail.com
Sat Jul 20 18:34:30 BST 2024


Hello,

Looking at
https://websvn.kde.org/trunk/l10n-kf6/templates/messages/libksysguard/KSysGuardFormatter.pot?view=co
there are some embedded Unicode characters which some tools have difficulty
rendering.
Displaying the above URL using Firefox gives e.g.:

#. i18n: Use \u202F (thin non-break space) to separate value and
prefixed unit; Use \u200B (zero-width space) to separate prefix and
unit.
#: Formatter.cpp:45
#, kde-format
msgctxt "Kilobytes unit symbol"
msgid "%1 Ki​B"

(Just for showing that msgid contains extra stuff, Firefox is not the
subject.)
The i18n hint also says this.

In Vim it is displayed as
msgid "%1 Ki<200b>B"

The mailer might further mangle it - what I see on the terminal is
msgid "%1 Ki<200b>B"

Kate and Lokalize do not display a special code at the <200b> position.
When translating, I feel some uncertainty -
If I copy/paste the content from the msgid to the msgstr, can I be sure
that the special characters are preserved as intended?

Cheers,

Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20240720/904557c0/attachment.htm>


More information about the kde-i18n-doc mailing list