NetBotz Downloaded sensor data in CSV file shows special characters
Issue:
NetBotz Downloaded sensor data in CSV file shows special characters
Product Line:
NetBotz
Environment:
NBRK0750
NBWL0755
Cause:
Netbotz allows the user to download CSVs, mainly the Temperature Sensor data CSV, the Rack Access CSV, and the Alarms CSV. When a customer opens a CSV downloaded from Netbotz in Excel, strange characters will sometimes appear.
A specific example is that Temperature Sensor data has a temperature degree symbol, which is replaced by random characters.
This is only a problem when opening a file in Excel.
Other apps like Numbers read the data normally. This is because Excel does not automatically recognize UTF-8, the format of the CSVs.
So, certain bytes in the text file are being read as the ANSI encoding in Excel.
Resolution:
Instead of double-clicking and opening the file directly in Excel, do the following:
Open Excel Go to “New” and create a blank workbook
Go to “Data” in the Excel app
Click the dropdown “Get Data (Power Query)”
Select “From Text (Legacy)”
Select the CSV, in this case the temperature sensor data CSV
The Text Import Wizard should automatically appear. Select the “Delimited” option
On the same screen, click on the “File origin” drop down menu. Select “Unicode (UTF-8)”. Click Next
In the “Delimiters” column, deselect “Tab” and select “Comma”
Click “Finish”. The data should default to the Existing sheet, with the formula =$A$1
The data should appear with no strange characters in the UTF-8 encoding.
NetBotz Downloaded sensor data in CSV file shows special characters
Product Line:
NetBotz
Environment:
NBRK0750
NBWL0755
Cause:
Netbotz allows the user to download CSVs, mainly the Temperature Sensor data CSV, the Rack Access CSV, and the Alarms CSV. When a customer opens a CSV downloaded from Netbotz in Excel, strange characters will sometimes appear.
A specific example is that Temperature Sensor data has a temperature degree symbol, which is replaced by random characters.
This is only a problem when opening a file in Excel.
Other apps like Numbers read the data normally. This is because Excel does not automatically recognize UTF-8, the format of the CSVs.
So, certain bytes in the text file are being read as the ANSI encoding in Excel.
Resolution:
Instead of double-clicking and opening the file directly in Excel, do the following:
Open Excel Go to “New” and create a blank workbook
Go to “Data” in the Excel app
Click the dropdown “Get Data (Power Query)”
Select “From Text (Legacy)”
Select the CSV, in this case the temperature sensor data CSV
The Text Import Wizard should automatically appear. Select the “Delimited” option
On the same screen, click on the “File origin” drop down menu. Select “Unicode (UTF-8)”. Click Next
In the “Delimiters” column, deselect “Tab” and select “Comma”
Click “Finish”. The data should default to the Existing sheet, with the formula =$A$1
The data should appear with no strange characters in the UTF-8 encoding.
發佈於: 施耐德電機Taiwan


需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。