File:  [parser3project] / parser3 / tests / 344.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Aug 2 14:56:21 2016 UTC (10 years ago) by moko
Branches: MAIN
CVS tags: HEAD
tests for ^file::create[ $.from-charset and $.to-charset ] (related to feature #1061)

@main[]
^from-1251[]

$f1[^file::load[binary;247_utf8_bom.txt]]
^show[f1;$f1]

$f[^file::create[$f1; $.mode[text] ]]
^show[f text from binary, automatic transcode by UTF-8 preambule;$f]

@show[title;f]
$title : ^json:string[$f; $.file[text] ]

E-mail: