B4J Question [abmaterial] [Solved] Rendering page in Ubuntu 16.04 mix page encode

Don Oso

Active Member
Licensed User
Longtime User
Hello

I upload my app created in B4J and Abmaterial to ubuntu 16.04 server running in a vps services.

But when i upload the application the first time everything works fine until i restart the app and in some pages created by de app some spanish letters or characters appear like questions marks for example the letter Ñ appears like ? ... but the page its rendered with UTF8 encoding.

Why?

some print screens



campana.png
javaver.png
campanann.png
obuusutf8.png
 

Don Oso

Active Member
Licensed User
Longtime User
yes maybe its a way to solve the issue , but , with this library just sometimes this happens , if you see the the header title the letter "ñ" its rendered ok.
if you see the code in the images the lib ABmaterial render de html page with this "�" the code generated is "<label id="inpdescamplabel" for="inpdescamp" class="">Descripci�n Campa�a</label>"

But not always "<a id="pagenavbar" class="brand-logo white-text" style="width: 1001px;">Campañas</a>" the Ñ letter appears in the same web page.

may be your suggestion it's a safe workaround.

But i think that Abmaterial has some type of properties that handle this :)

Regards.
 
Upvote 0

alwaysbusy

Expert
Licensed User
Longtime User
This should not happen. What version of ABMaterial are you using? Can you create a small project (e.g. using the template project) which reproduces this problem? You can mail it to me zipped (alain.bailleul@telenet.be)? I'll run it on my Ubuntu server 16.04 at home and see what could be causing this.

I can only suspect that the UTF-8 locale is not installed on your server.

I made a small project myself and ran it on my server. Then stopped the app and restarted it. The results look like this (after restart).

UbuntuUTF8.png
 
Upvote 0
Top