[SOLVED] LAMW - UTF-8 character in jTextView lazarus / 43-Android ---------------------------------------------------------------------- Alcatiz · 2025-06-18 09:36 Hi all! I'm trying to display a UTF-8 character in a jTextView control: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TextView1.Text := #9786;I'm using a jTextView to display a counter, and when the counter reaches 0 a smiley is directly displayed in place of the numbers. In any classical Windows or Linux application using TLabel it displays a smiley, but in my Android app it doesn't work, only a '?' is displayed. Any idea on who to do it? ---------------------------------------------------------------------- dinglerod · 2025-06-20 03:26 It looks like your font is missing that glyph. ---------------------------------------------------------------------- Alcatiz · 2025-06-20 15:08 Thanks for your reply, you're certainly right. I didn't know it was possible to use a particular font, until I found some code in one of the demos. So I could solve the problem using a web font stored in the Assets directory: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i TextView1.SetFontFromAssets('materialdesignicons- webfont.ttf');TextView1.Text := Self.ParseHtmlFontAwesome('F2E7');   (* Smiley *)