Permalink
Browse files

better comments

  • Loading branch information...
Gabriel Llamas
Gabriel Llamas committed Nov 26, 2013
1 parent c4f5f8b commit b0d443c7904bec9adc768c10f55513b0b0f9f8b3
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/escape.js
View
@@ -9,6 +9,8 @@ var unicode = function (code){
};
module.exports = function (c, code, meta, options){
+ //Encode characters to their unicode representation to be compatible with
+ //ISO 8859-1 (latin1)
//code 61: =
//code 58: :
if (meta.key && (code === 61 || code === 58 || code === meta.separator)){
@@ -42,6 +44,6 @@ module.exports = function (c, code, meta, options){
//Printable 8-bit character
if (code < 256) return c;
- //Multibyte character
+ //Latin1 multibyte character
return options.unicode ? unicode (code) : c;
};

0 comments on commit b0d443c

Please sign in to comment.