B4J Question [jNet] lib with e-mail charsert problem

Tayfur

Well-Known Member
Licensed User
Longtime User
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)
B4X:
<!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)

B4X:
<!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:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…