Opened 5 years ago

Closed 4 years ago

#13316 closed Bugs (obsolete)

Non UTF-8 files in Math library

Reported by: Peter Klotz <peter.klotz@…> Owned by: John Maddock
Milestone: To Be Determined Component: math
Version: Boost 1.65.0 Severity: Problem
Keywords: Cc:

Description

The Math library contains two non UTF-8 files (in both cases a comment which contains a Windows CP1252 dash).

Here the output of the "file" command:

boost/math/special_functions/detail/bessel_i0.hpp: C++ source, Non-ISO extended-ASCII text boost/math/special_functions/detail/bessel_i1.hpp: C++ source, Non-ISO extended-ASCII text

This makes the files incompatible with modern Microsoft Compilers when using switch /utf-8.

The attached patch simply replaces the CP1252 dash with an ASCII dash and therefore fixes the issue for all compilers.

Attachments (1)

boost_1_65_1-MathSpecialFunctionsUTF8.zip (757 bytes ) - added by Peter Klotz <peter.klotz@…> 5 years ago.

Download all attachments as: .zip

Change History (3)

by Peter Klotz <peter.klotz@…>, 5 years ago

comment:1 by Peter Klotz <peter.klotz@…>, 5 years ago

Sorry, I had to zip the patch because it contains hyperlinks which Trac does not allow in uploads.

comment:2 by John Maddock, 4 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.