Skip to content

Instantly share code, notes, and snippets.

@rebolek
Created March 29, 2017 17:43
Show Gist options
  • Save rebolek/0bbeae24807ed75de940d05888be5265 to your computer and use it in GitHub Desktop.
Save rebolek/0bbeae24807ed75de940d05888be5265 to your computer and use it in GitHub Desktop.
Red []
convert-codepage: function [
data
] [
rule: copy []
output: copy []
data: skip data 17
foreach value data [
value: split value tab
repend rule [
'set 'value to-binary load back insert skip l/1 2 #"#"
to paren! compose [append output ]
]
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment