Tayfur Well-Known Member Licensed User Longtime User Oct 15, 2018 #1 I send e-mail with based of HTML. But I saw results of before and after not same. REsult html code nome same , its missing some chars. I reading from file for row source. File.readstring(File.DirrAPP, "html.txt") problem maybe is txt file must be "ANSI" / "UTF"??? LOG'S RESULT in HTML source (see <Meta> line) Code: Copy <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } RESULT CODE IN OUTLOOK see <meta> line) Code: Copy <!DOCTYPE html> <html> <head> <meta http-equiv=ontent-Type" content=ext/html; charset=ndows-1254"> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } Last edited: Oct 15, 2018
I send e-mail with based of HTML. But I saw results of before and after not same. REsult html code nome same , its missing some chars. I reading from file for row source. File.readstring(File.DirrAPP, "html.txt") problem maybe is txt file must be "ANSI" / "UTF"??? LOG'S RESULT in HTML source (see <Meta> line) Code: Copy <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; } RESULT CODE IN OUTLOOK see <meta> line) Code: Copy <!DOCTYPE html> <html> <head> <meta http-equiv=ontent-Type" content=ext/html; charset=ndows-1254"> <style> table { font-family: arial, sans-serif; border-collapse: collapse; width: 100%; }
DonManfred Expert Licensed User Longtime User Oct 15, 2018 #2 Use textreader for example and read the file using the right encoding to have it UTF8 in your app. The point is that you need to read it right. File.readstring expect the file to be UTF8 encoded. Upvote 0
Use textreader for example and read the file using the right encoding to have it UTF8 in your app. The point is that you need to read it right. File.readstring expect the file to be UTF8 encoded.
Tayfur Well-Known Member Licensed User Longtime User Oct 16, 2018 #3 DonManfred said: Use textreader for example and read the file using the right encoding to have it UTF8 in your app. The point is that you need to read it right. File.readstring expect the file to be UTF8 encoded. Click to expand... thanks for info Upvote 0
DonManfred said: Use textreader for example and read the file using the right encoding to have it UTF8 in your app. The point is that you need to read it right. File.readstring expect the file to be UTF8 encoded. Click to expand... thanks for info