closes #484, RTF Citation Export Loses Characters on Windows
This commit is contained in:
parent
7a4b87257c
commit
3e93f94a90
|
@ -1481,7 +1481,7 @@ Zotero.CSL.FormattedString.prototype.append = function(string, element, dontDeli
|
||||||
for(i=0; i<string.length; i++) {
|
for(i=0; i<string.length; i++) {
|
||||||
var charCode = string.charCodeAt(i);
|
var charCode = string.charCodeAt(i);
|
||||||
if(charCode > 127) { // encode unicode
|
if(charCode > 127) { // encode unicode
|
||||||
newString += "\\uc0\\u"+charCode.toString()+" ";
|
newString += "\\uc0\\u"+charCode.toString()+" ";
|
||||||
} else if(charCode == 92) { // double backslashes
|
} else if(charCode == 92) { // double backslashes
|
||||||
newString += "\\\\";
|
newString += "\\\\";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user