From 2a9b15aefb842a734637f3d230936ea1b7c60096 Mon Sep 17 00:00:00 2001 From: Philip Kime Date: Thu, 8 Nov 2018 22:02:09 +0100 Subject: [PATCH] Fix to address #239 --- lib/Biber.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Biber.pm b/lib/Biber.pm index 8b1f80a5..d97fca29 100644 --- a/lib/Biber.pm +++ b/lib/Biber.pm @@ -311,6 +311,8 @@ sub parse_ctrlfile { unless (eval {$checkbuf = File::Slurper::read_text($ctrl_file_path, 'latin1')}) { biber_error("$ctrl_file_path is not UTF-8 or even latin1, how horrible."); } + # Write ctrl file as UTF-8 + File::Slurper::write_text($ctrl_file_path, NFC($checkbuf));# Unicode NFC boundary } $checkbuf = NFD($checkbuf);# Unicode NFD boundary @@ -319,8 +321,6 @@ sub parse_ctrlfile { unlink($output) unless $output eq '-';# ignore deletion of STDOUT marker biber_error("$ctrl_file_path is malformed, last biblatex run probably failed. Deleted $output"); } - # Write ctrl file as UTF-8 - File::Slurper::write_text($ctrl_file_path, NFC($checkbuf));# Unicode NFC boundary # Validate if asked to if (Biber::Config->getoption('validate_control')) { e/HACKING?id=9ed46007772015acb6158f003454b7045b1b9d4f'>treecommitdiff
path: root/HACKING
AgeCommit message (Expand)Author
2020-10-23doc: Fix typo in HACKING....Maxim Cournoyer
2020-01-09doc: Move "Commit Access" section from 'HACKING' to the manual....Ludovic Courtès
2020-01-09doc: Add "Tracking Bugs and Patches" section....Ludovic Courtès
2019-07-13doc: Update keyserver URL....Leo Famulari
2019-02-11HACKING: Update key server....Ludovic Courtès
2018-07-22doc: Fix typo (missing period)...Pierre Neidhardt
2017-08-19doc: Mention how to use emacs-debbugs....Arun Isaac
2017-03-27maint: Give command to install the pre-push hook....Ludovic Courtès
2017-03-24maint: Mention the Signed-off-by line in 'HACKING'....Clément Lassieur
2017-03-15maint: Mention guix-patches@gnu.org in 'HACKING'....Ludovic Courtès
2017-01-30maint: Fix invalid calls to 'info'....Mathieu Lirzin
2017-01-04doc: Add a Git hook that verifies signatures before pushing....Leo Famulari
2016-07-24doc: Explain how to set up Git for signing....Ludovic Courtès
2016-07-14doc: Mention commit signatures in HACKING....Leo Famulari