Sha256: 896c14af23156e9c7d484310920af292bfc843c508d33f57851806206ed5641c
Contents?: true
Size: 312 Bytes
Versions: 21
Compression:
Stored size: 312 Bytes
Contents
helloWorld = () -> console.log phantom.outputEncoding + ": こんにちは、世界!" console.log "Using default encoding..." helloWorld() console.log "\nUsing other encodings..." for enc in ["euc-jp", "sjis", "utf8", "System"] do (enc) -> phantom.outputEncoding = enc helloWorld() phantom.exit()
Version data entries
21 entries across 19 versions & 3 rubygems