main.dart:
var js1 = new JsObject(context['jsFileStreamer'], ["../insurance.b5"]);
js1.callMethod('receive', []);
A snippet of the jsFileStreamer is:
var jsFileStreamer = function jsFileStreamer(FileName){
this.fileName = FileName;
// this function is to produce a file in csv format
this.receive = function(outName){
var iconv = require('iconv-lite');
};
};
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
寄件者: 何宗憲 已傳送: Monday, November 24, 2014 18:53 收件者: mi...@dartlang.org 回覆至: mi...@dartlang.org 主旨: [dart-misc] How to convert Big5 encoded text into UTF8 in Dart? |