B4J Question b4j web server return � for é

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
have you tried adding a meta tag?
 
Upvote 0

yfleury

Active Member
Licensed User
Longtime User
My mysql database is set with
utf8_general_ci

B4X:
    req.write($"<!DOCTYPE html>
<html lang="en">
<head>
    <title>Les réseaux</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <!--script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script-->
<link rel="stylesheet" href="mystyle.css">
    <script
      src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxxxxxxxxxxxxxxxx&callback=initMap&v=weekly"
      defer
    ></script>
</head>
<body>
<div id="map">
</div>
"$)
<title>Les réseaux</title> look like that
Capture d’écran 2022-12-20 131331.jpg

It is not only on title tag, in the web page to.
Is it from b4j I have to do somethings?
 
Upvote 0
Top