function cp1255_utf8(s) { var test = /([à-ú])/g; return(s.replace (test, function($0) { // alert($0.charCodeAt(0)); return(String.fromCharCode(215) + String.fromCharCode(($0.charCodeAt(0)+80))); } ) ); }