1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Odd characters in temperatures showing in Phoebus |
From: | "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 4 Oct 2021 20:45:10 +0000 |
Well, that gives me some interesting results. Full dump at: https://pastebin.com/4iqDBfem TL;DR: > caget -d CTRL_DOUBLE SP_Cesium:Oven_Heater:ProcessValue1 Units:
┬░ > ssh elsewhere & return > caget -d CTRL_DOUBLE SP_Cesium:Oven_Heater:ProcessValue1 Units: ° Same behavior using PowerShell and command prompt. I don’t see any change to $OutputEncoding before or after the ssh command, nor does manually setting $OutputEncoding = [System.Text.Encoding]::UTF8 make any difference. Chcp reports the
same active code page before and after ssh (437), so that doesn’t seem to be the right direction. I don’t have hexdump on windows, yet.
Greg From: Kasemir, Kay <kasemirk at ornl.gov> > caget SP_Cesium:Oven_Heater:ProcessValue1 SP_Cesium:Oven_Heater:ProcessValue1 22.855 Try caget -d CTRL_DOUBLE SP_Cesium:Oven_Heater:ProcessValue1 and note the 'Units'. Also try caget -d CTRL_DOUBLESP_Cesium:Oven_Heater:ProcessValue1 | hexdump -c to see exactly what characters follow the "Units:"... Fundamentally, phoebus will allow UTF-8 encoded text for the units. -Kay |