Solution EnriqueGonzalez Dec 20, 2022 yfleury said: Is it from b4j I have to do somethings? Click to expand... Add this line just before sending the html: B4X: resp.CharacterEncoding = "UTF-8" yfleury said: req.write( Click to expand... i guess this is req?
yfleury said: Is it from b4j I have to do somethings? Click to expand... Add this line just before sending the html: B4X: resp.CharacterEncoding = "UTF-8" yfleury said: req.write( Click to expand... i guess this is req?
EnriqueGonzalez Well-Known Member Licensed User Longtime User Dec 20, 2022 #2 have you tried adding a meta tag? W3Schools.com W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com Upvote 0
have you tried adding a meta tag? W3Schools.com W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com
yfleury Active Member Licensed User Longtime User Dec 20, 2022 #4 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 It is not only on title tag, in the web page to. Is it from b4j I have to do somethings? Upvote 0
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 It is not only on title tag, in the web page to. Is it from b4j I have to do somethings?
EnriqueGonzalez Well-Known Member Licensed User Longtime User Dec 20, 2022 #5 yfleury said: Is it from b4j I have to do somethings? Click to expand... Add this line just before sending the html: B4X: resp.CharacterEncoding = "UTF-8" yfleury said: req.write( Click to expand... i guess this is req? Upvote 0 Solution
yfleury said: Is it from b4j I have to do somethings? Click to expand... Add this line just before sending the html: B4X: resp.CharacterEncoding = "UTF-8" yfleury said: req.write( Click to expand... i guess this is req?
yfleury Active Member Licensed User Longtime User Dec 20, 2022 #6 It work, Thanks is not req.write but resp.write, my mistake Upvote 0