Created
July 30, 2012 13:46
-
-
Save msr1k/3207026 to your computer and use it in GitHub Desktop.
Decode vcf file (ARGV[0]).
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
# encoding : sjis | |
result = File.read( ARGV[0] ).gsub( /=(\n|[0-9A-F]{2})/ ){ |e| e.unpack("M")[0] } | |
puts result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Do you know how do I decode an VCF file? I try everything and nothing happens. Thanks!