NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul Jensen on March 13, 2025, 12:10:59 AM
-
Hi,
In Webserver procedure, Webserver settings, General I have this to correctly work with the tables in the database that is shared with a desktop app:
Charset: utf-8
Store data as: Scandinavian (windows 1252)
But on the map, the tooltip text is wrong. See attached image.
The table containing the points are dynamically filled, so I thought I could encode the textfield there, so it would show properly. But no luck so far.
Any ideas most welcome.
tia
/Poul
-
Found a workaround - not the final one I hope, because I change the Danish characters to double characters. Looks a bit nicer but still....
In the embed "Set Map Data Options" I change the characters using Stringtheory search/replace and then call:
p_web.SetOption(loc:options,'title',CLIP(Mmap:Tekst))
-
>> The table containing the points are dynamically filled
filled from the database? or from something else?
-
Hi Bruce,
The points table are being filled from data in the job-card table:
lat/lon and the text shown is various data related to the job and the customer.
Cheers
/Poul
-
Is the database TPS?
I think I will need an example showing the effect.
Specifically I want to see where the encoding is happening - and what is in the database to start with.
Cheers
Bruce
-
Hi Bruce,
I have emailed an example app.
Cheers
/Poul
-
thanks - fixed for 14.30
-
Have now testet NT 14.30 - and this issue is resolved.
Thanks.
/Poul
-
Just a minor issue:
Encoding is correct when you hover over a point/marker.
If you click the marker and go to the update form, when you the return to the map the encoding is wrong again on that marker. Tips on other markers are still good.