NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: ianburgess on September 10, 2012, 07:54:28 AM
-
If a user enters a UK pound sign £ into an entry field or text box, it displays fine on forms and browses, but when those fields are printed as part of a PDF report (using PDF Tools), the pound signs show as £. I am using Arial in report and form.
Any thoughts?
-
I'm guessing it's a utf-8 / Ansi issue. You might try experimenting with the "charset" and "save-as" settings on the WebServer procedure.
Also use TopScan to look inside the file - what character do you see there?
cheers
Bruce
-
Topscan shows the character wrongly as £
In the Webserver procedure, extension > Settings > Advanced, I have:
Charset: 'utf-8'
Store Data as: utf-8
If I change these to:
Charset: 'ansi'
Store Data as: Central Europe
... the characters show correctly in a browser and in Topscan and the PDF report.
What I am not sure about is whether 'ansi' is the correct setting?
Thanks
Ian
-
try setting the charset to
'utf-8'
and the "Store Data As" to ASCII, or "Western Europe". Or did you set it to Central Europe for a reason?
Remember when testing to type _new_ characters. ie the state of the symbols already in the TPS file could be wrong, so is not useful for testing moving forward.
You _really_ want the site to be using the utf-8 charset for display, especially going forwards, so it's good to make every effort to stay on that.
cheers
Bruce
-
I am using currently Nettalk 5.32 and there is not a "Western Europe" in the droplist. I have:
UTF-8
Spanish
Portuguese
Danish
Baltic
Central Europe
Eastern Europe
Is there a way in code to set to Western Europe?
Thanks
Ian
-
unfortunately I don't know the specifics of 5.32 Ian.
You probably should at least be on a recent NT5 build.
In your case I guess you're best of setting the charset to 'iso-8859-1' and see what that does.
Not ideal, but might be sufficient for you.
cheers
Bruce