Code Review
/
vnfsdk
/
refrepo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug:Fix file validation issue
[vnfsdk/refrepo.git]
/
vnfmarket
/
src
/
main
/
webapp
/
vnfmarket
/
node_modules
/
phantomjs
/
lib
/
phantom
/
examples
/
outputEncoding.coffee
1
helloWorld = () -> console.log phantom.outputEncoding + ": こんにちは、世界!"
2
3
console.log "Using default encoding..."
4
helloWorld()
5
6
console.log "\nUsing other encodings..."
7
for enc in ["euc-jp", "sjis", "utf8", "System"]
8
do (enc) ->
9
phantom.outputEncoding = enc
10
helloWorld()
11
12
phantom.exit()