Bug 252782 - french/med pkg-descr uses Latin-1 rather than UTF-8
Summary: french/med pkg-descr uses Latin-1 rather than UTF-8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-17 16:08 UTC by Joerg Wunsch
Modified: 2021-01-17 17:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Wunsch freebsd_committer freebsd_triage 2021-01-17 16:08:37 UTC
The pkg-descr file in french/fr-med uses Latin-1 rather than UTF-8.

Since UTF-8 locales are the commonly agreed standard these days, "pkg info fr-med" looks quite strange. As that port is also used outside the French community (FreeCAD relies on it), it would be nice to convert that file to UTF-8. (For that same reason, adding an English translation would be appreciated as well, but I could live with a French text if displayed correctly.)
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2021-01-17 17:51:40 UTC
You are right: when I created this port long time ago, it was only a dependency of french/aster, but nowadays Code_Aster has been localized, and these ports should be repo-moved to science (added in my TODO list).

Fun fact:
$ file /usr/ports/french/med/pkg-descr
/usr/ports/french/med/pkg-descr: MED_Song
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-01-17 17:52:04 UTC
A commit references this bug:

Author: thierry
Date: Sun Jan 17 17:51:42 UTC 2021
New revision: 561843
URL: https://svnweb.freebsd.org/changeset/ports/561843

Log:
  Translate pkg-descr into english, thus removing Latin-1 encoding.

  PR:		252782
  Submitted by:	joerg

Changes:
  head/french/med/pkg-descr