Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Updated hgnc_gene_names/parse.pl to output UTF-8 #23

Merged
merged 1 commit into from May 22, 2012
Jump to file or symbol
Failed to load files and symbols.
+22 −0
Split
View
@@ -0,0 +1,15 @@
+DuckDuckGo zeroclickinfo-fathead/hgnc_gene_names
+
+
+----------------------------------------
+Required Tools (must be in path)
+----------------------------------------
+wget
+gzip
+perl (tested with 5.12)
+
+
+----------------------------------------
+Required Perl Modules
+----------------------------------------
+IO::Uncompress::AnyInflate
View
@@ -0,0 +1,5 @@
+Name: HGNC Gene Names
+Domain: www.genenames.org
+Type: Human Gene Name
+MediaWiki: 0
+Keywords: HGNC, human gene, gene
View
@@ -92,6 +92,8 @@ sub error {
$outfh->open(">$outfile") or die "Could not open $outfile for output\n";
trace("opened output file $outfile for writing");
+# put output file in utf8 mode
+$outfh->binmode(":utf8");
# parse header line
my $headerline = <$infh>;