Skip Menu |

This queue is for tickets about the TeX-Hyphen CPAN distribution.

Report information
The Basics
Id: 64829
Status: resolved
Priority: 0/
Queue: TeX-Hyphen

People
Owner: Nobody in particular
Requestors: IPENBURG [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 1.15



Subject: Patterns in utf8 aren't read in utf8 mode
The TeX hyphenation guys have released a lot of patterns in utf8, which should be usable when TeX::Hyphen can read those files in utf8 mode Attached patch: TeX-Hyphen-0.140$ patch -p0 -i TeX-Hyphen.patch
Subject: TeX-Hyphen.patch
*** lib/TeX/Hyphen.pm 2002-09-24 22:32:37.000000000 +0200 --- lib/TeX/Hyphen.pm 2011-01-16 21:45:48.000000000 +0100 *************** *** 131,136 **** --- 131,137 ---- $errstr = "Error opening file `$file': $!"; return; }; + binmode FILE, ":utf8"; } my $self = {}; bless $self, $class;
On Sun, 16 Jan 2011 21:06:25 GMT, IPENBURG wrote: Show quoted text
> The TeX hyphenation guys have released a lot of patterns in utf8, which > should be usable when TeX::Hyphen can read those files in utf8 mode > > Attached patch: TeX-Hyphen-0.140$ patch -p0 -i TeX-Hyphen.patch
Sadly, we cannot assume that the file won't be in some other encoding. In the end the style => 'utf8' was added to enforce the utf8 binmode: https://rt.cpan.org/Ticket/Display.html?id=75088