0

character set/encoding

We require character support for pound signs - £

Whenever we put this in the text the emulator crashes immediately, we have tried changing the encoding values as set up in Main.tv but no joy.

How do we support this?

by
5 Replies
  • QUOTE (c.penny67 @ Apr 22 2009, 10:31 AM) <{POST_SNAPBACK}>
    We require character support for pound signs - £

    Whenever we put this in the text the emulator crashes immediately, we have tried changing the encoding values as set up in Main.tv but no joy.

    How do we support this?


    Use the correct unicode code point for that symbol. If you have trouble, cut and paste it from here:

    http://www.unicode.org/charts/PDF/U20A0.pdf

    It's code point 00A3 if that helps.

    -Jeremy
    0
  • Thanks Jeremy

    \u00A3 works fine however we have very little control over the content feeds so escaping pound signs is very difficult for us.

    Is it on the road map to support ISO-8859-1? that would solve most of our problems, not just with pound signs but most European currency/characters.

    Also the emulator crashing completely seems a severe reaction, we have a lot of funny characters in the Gaelic and Welsh languages, when the browser cant display them it usually returns a questions mark or something similar, is this possible?
    0
  • QUOTE (c.penny67 @ Apr 23 2009, 02:38 AM) <{POST_SNAPBACK}>
    Thanks Jeremy

    \u00A3 works fine however we have very little control over the content feeds so escaping pound signs is very difficult for us.

    Is it on the road map to support ISO-8859-1? that would solve most of our problems, not just with pound signs but most European currency/characters.

    Also the emulator crashing completely seems a severe reaction, we have a lot of funny characters in the Gaelic and Welsh languages, when the browser cant display them it usually returns a questions mark or something similar, is this possible?


    I agree the emulator crashing is a bad thing and I will open a bug on it.

    As to other character encodings, how are you fetching this data? Using URL or XHR?

    -Jeremy
    0
  • currently using XHR
    0
  • QUOTE (c.penny67 @ Apr 24 2009, 07:53 AM) <{POST_SNAPBACK}>
    currently using XHR


    Are you pulling in JSON or XML data? If I'm remembering who you are correctly, it's JSON data and JSON by requirement _MUST_ be in Unicode per Javascript spect. If you have a feed which is providing non-Unicode data (aka ISO-8859-1) then the feed is the problem.

    -Jeremy
    0

Recent Posts

in General - Yahoo! TV Widgets