closes #484, RTF Citation Export Loses Characters on Windows

This commit is contained in:
Simon Kornblith 2007-01-27 05:12:45 +00:00
parent 7a4b87257c
commit 3e93f94a90

View File

@ -1481,7 +1481,7 @@ Zotero.CSL.FormattedString.prototype.append = function(string, element, dontDeli
for(i=0; i<string.length; i++) {
var charCode = string.charCodeAt(i);
if(charCode > 127) { // encode unicode
newString += "\\uc0\\u"+charCode.toString()+" ";
newString += "\\uc0\\u"+charCode.toString()+" ";
} else if(charCode == 92) { // double backslashes
newString += "\\\\";
} else {