ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

UTF8 Use in experiment users and titles #2728

Open John-Holt-Tessella opened 6 years ago

John-Holt-Tessella commented 6 years ago

As an instrument scientist I would like to be able to set user name and titles with UTF8 characters in make sure they are represented correctly.

  1. Title set doesn't worl
    1. Set the title to » … ° © ® ™ • ½ ¼ ¾ ⅓ ⅔ † ‡ µ ¢ £ € ♠ ♣ ♥ ♦ ✓ ✨ �
    2. Wait for icp to pick it up and set it this get set to (DAE SIMULATION MODE) » �ng
  2. UTF8 Characters are not represented in archive engine
    1. Set title to µ archive
    2. View archive engine http://localhost:4812/channel?name=TE:NDW1798:DAE:TITLE.VAL&format=json
    3. Shows "Value":"(DAE SIMULATION MODE) \\u-062\\u-075" should end in \u0181
  3. Users don't work
    1. Add users on experimental device screen to ♣ and µ
    2. caget -S %MYPVPREFIX%DAE:_USERNAME.VAL
    3. shows , should show ♣,µ 1 . Chase this through to the archive engine and dataweb making sure they are shown correctly there
  4. Ensure ticket is also fixed: https://github.com/ISISComputingGroup/IBEX/issues/2246 In general set titles and users from gui, gui scripting, genie_python script and ensure they show up correctly in GUI dashboard, experiment details, dae title and dae run information, archive engine, and dataweb. See http://csbruce.com/software/utf-8.html for inspiration.
AdrianPotter commented 6 years ago

Related: https://github.com/ISISComputingGroup/IBEX/issues/2246