Edit:
I am creating a Chrome Extension and the files must be UTF-8 encoded. I use JQuery to get contents from page, and check that if that contains specific strings that contains Ö, ı and İ. However, because the Chrome forces files must be encoded UTF-8; I cannot perform a search of "İ, ı, Ö".
var p = txt.indexOf("İ");
Does not work as I need because I cannot save the files with İ, Ö or ı.