Unable to show £ sybol in table

Discussion in 'Bug Reports' started by Graley, Sep 23, 2008.

  1. Graley

    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
     
  2. Cableguy

    Cableguy Expert Licensed User

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

    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: Sep 24, 2008
  4. Graley

    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
     
  5. agraham

    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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice