eDLT - which unicode encoding?

Discussion in 'C-Bus Toolkit and C-Gate Software' started by DaleS, Nov 27, 2013.

  1. DaleS

    DaleS

    Joined:
    Nov 17, 2011
    Messages:
    33
    Likes Received:
    0
    Location:
    Melbourne
    Does the new eDLT use UTF-8 or UTF-16, or is all of that handled in the programming, and only the relevant glyphs are transferred to it?
     
    DaleS, Nov 27, 2013
    #1
  2. DaleS

    max.zou

    Joined:
    Jul 9, 2012
    Messages:
    5
    Likes Received:
    0
    Location:
    Adelaide
    Hi Dales,

    eDLT is using UTF-8 for character encoding and it has an embedded UTF-8 font.

    Generally you don't need to worry about the encoding because it's handled by Toolkit. When you save programming to the unit, Toolkit knows how to send the correct labels to the unit.

    There is some background information about eDLT labels in the Toolkit help under the "eDLT key input unit" section.

    :)
     
    max.zou, Dec 6, 2013
    #2
  3. DaleS

    rikaussie

    Joined:
    Jun 8, 2013
    Messages:
    68
    Likes Received:
    2
    Location:
    Melbourne
    Is it possible display unicode code characters in labels sent from a PAC etc.?

    I would like to use a degree symbol, but it's displaying as "Set 33?C" on the eDLT.

    SetStringIBSystemIO("Label Group Text", "Main", "RTI", "Heater Master Bedroom", 0, 'Set 33'#176'C');

    19/12/2014 14:04:33.1 Rx : = Source Unit 7, Lighting (48), GA 160 Label, Variant 0, Language 1 [English], Text label, 8 Bytes = "Set 33?C"
     
    rikaussie, Dec 19, 2014
    #3
  4. DaleS

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    766
    Likes Received:
    20
    Location:
    Adelaide
    Hi rikaussie,

    Unfortunately the PAC & Touchscreen are unable to send the new UTF-8 labels via Logic. They are only able to send the old ASCII labels which the old DLT renders with its single Western European codepage, and which the new eDLT can render codes 0-127 but is unable to render codes 128-255.
     
    daniel, Jan 21, 2015
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.