Problem 2282 - some example source files have national encoding
Summary: some example source files have national encoding
Status: RESOLVED FIXED
Alias: None
Product: Bugzilla
Classification: Unclassified
Component: general (show other problems)
Version: other
Hardware: All Linux
: P4 trivial
Assignee: Gunter.Folger
URL:
Depends on:
Blocks:
 
Reported: 2020-10-29 11:18 CET by Stephan Lachnit
Modified: 2020-12-15 17:06 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Stephan Lachnit 2020-10-29 11:18:07 CET
The following example files use iso-8859-1 as encoding instead of us-ascii / utf-8:

advanced/nanobeam/src/DetectorConstruction.cc
advanced/underground_physics/UserRequirements.txt
extended/medical/DICOM/include/DicomEventAction.hh
extended/medical/DICOM/include/DicomHandler.hh
extended/medical/DICOM/include/DicomPrimaryGeneratorAction.hh
extended/medical/DICOM/src/DicomEventAction.cc
extended/medical/DICOM/src/DicomPrimaryGeneratorAction.cc
extended/medical/electronScattering2/.README.txt
extended/medical/electronScattering2/README

This can be easily fixed using a utility like iconv: https://manpages.debian.org/buster/manpages/iconv.1.en.html
Comment 1 Gunter.Folger 2020-11-02 15:02:06 CET
Hello Stephan,

interesting! Will address this in the upcoming release. 

Gunter
Comment 2 Gunter.Folger 2020-12-15 17:06:23 CET
Hello Stephan,
the encodings for all files in geant4 have been corrected.
Closing this bug report.

Gunter