When I use this code for getting the source code of a local html file, some of the Turkish words containing İ,Ç,Ğ,Ş letters becomes like ›,«,–
Code: Select all
put URL "file:/Users/Aras/Developer/detail.html" into Field 1
Regards,
ARAS
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
put URL "file:/Users/Aras/Developer/detail.html" into Field 1
Hi FourthWorld,FourthWorld wrote:Instead of "file:" try "binfile:"
Code: Select all
set the unicodeText of fld "Field 1" to uniEncode (URL ... , "UTF8")
Hi Marek,snm wrote:put URL "file:/Users/Aras/Developer/detail.html" into Field 1
Code: Select all
set the unicodeText of fld "Field 1" to uniEncode (URL file:/Users/Aras/Developer/detail.html , "UTF8")
Code: Select all
set the unicodeText of fld "Field 1" to uniEncode (URL "file:/Users/Aras/Developer/detail.html" , "UTF8")
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<meta http-equiv="Content-Language" content="tr">
Code: Select all
put URL "file:/Users/Aras/Developer/detail.html" into Field 1
put ISOtoMAC(fld "Field") into fld "Field"
Code: Select all
put uniEncode(URL "file:/Users/Aras/Developer/detail.html","Turkish") into Field "Field"
Code: Select all
set the HTMLText of field "Field" to URL "file:/Users/Aras/Developer/detail.html"