Permalink
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
inc-meta/utilities/bodge-eacute.pl
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

See ukf/ukf-meta#331 for details
executable file
13 lines (13 sloc)
423 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w -p -i | |
# | |
# É is changed to HTML character entity reference É | |
# | |
# An awful bodge to fix output of IdPInfoList. Our instance of | |
# PMwiki encodes pages in windows-1252 (single byte character encoding), | |
# and IdPInfoList includes a file encoded in UTF-8. All is well until | |
# we have a 2-byte character in GÉANT. | |
# | |
binmode(STDOUT, ":encoding(UTF-8)"); | |
s/É/É/g; | |
s/é/é/g; | |
s/ü/ü/g; |