Skip to content

Instantly share code, notes, and snippets.

View ltrebing's full-sized avatar

Lars Trebing ltrebing

  • Vanilla Reply
  • Munich, Germany
View GitHub Profile
@jsanti
jsanti / repair_utf8_iso88591_mix.perl
Created November 23, 2010 17:52
Repairing broken documents that mix UTF-8 and ISO-8859-1
#!/usr/bin/perl
#
# Repairing broken documents that mix UTF-8 and ISO-8859-1
# http://plasmasturm.org/log/416/
#
use strict;
use warnings;
use Encode qw( decode FB_QUIET );