Unable to show £ sybol in table

Graley

Member
Licensed User
$' are fine, but £'s show as invalid characters in the table control. Is this one to be fixed? If not, what other ASCII characters will the table control be unable to show?


Thx

Graley
 

Cableguy

Expert
Licensed User
Basic4ppc uses UTF-8 encoding and should be OK showing the £ symbol...
Can you post your code?
 

agraham

Expert
Licensed User
To be pedantic (yet again :)) B4ppc characters are UTF16 internally and are encoded to/from either UTF8 or a specific codepage or ASCII when reading or writing to a stream.

I have a UK system and pound shows fine on a table on both device and desktop. As Cableguy says any character ought to be displayable - the proviso is that the font in use needs to include the specific glyph for the required character but most Windows standard fonts do include a pound.

Type a pound sign into a textbox and see if it shows correctly there.
 
Last edited:

Graley

Member
Licensed User
Ther is no code as such. The table is just displaying a csv which contains the £ symbol. I've tried a few fonts, but each appear as either spaces, dots or squares in the table. The £'s do show in every other control though. Very strange - this is what lead me to believe it was a bug in the table control.


Thx

Graham
 

agraham

Expert
Licensed User
The problem is probably that your csv file is saved as an Ansi or Ascii file and not as a Unicode or UTF8 file. Open it in Notepad and resave it as UTF8 using the Encoding dropdown list on the Save as dialog.
 
Top