Last change
on this file since 31525 was 31525, checked in by ak19, 7 years ago |
Nathan provided more stuff: Themes folder contains Sencha's Themebuilder which generates GXT Themes. It includes the .theme and generated .jar files for the project theme.
|
File size:
378 bytes
|
Line | |
---|
1 | function helloWorld() {
|
---|
2 | console.log(phantom.outputEncoding + ": ããã«ã¡ã¯ãäžçïŒ");
|
---|
3 | }
|
---|
4 |
|
---|
5 | console.log("Using default encoding...");
|
---|
6 | helloWorld();
|
---|
7 |
|
---|
8 | console.log("\nUsing other encodings...");
|
---|
9 |
|
---|
10 | var encodings = ["euc-jp", "sjis", "utf8", "System"];
|
---|
11 | for (var i = 0; i < encodings.length; i++) {
|
---|
12 | phantom.outputEncoding = encodings[i];
|
---|
13 | helloWorld();
|
---|
14 | }
|
---|
15 |
|
---|
16 | phantom.exit()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.