diff --git a/typo/typo.js b/typo/typo.js index d66353c..5324e7f 100644 --- a/typo/typo.js +++ b/typo/typo.js @@ -217,7 +217,7 @@ Typo.prototype = { * Read the contents of a file. * * @param {String} path The path (relative) to the file. - * @param {String} [charset="ISO8859-1"] The expected charset of the file + * @param {String} [charset="utf8"] The expected charset of the file * @param {Boolean} async If true, the file will be read asynchronously. For node.js this does nothing, all * files are read synchronously. * @returns {String} The file data if async is false, otherwise a promise object. If running node.js, the data is @@ -978,4 +978,4 @@ Typo.prototype = { // Support for use as a node.js module. if (typeof module !== 'undefined') { module.exports = Typo; -} \ No newline at end of file +}