简体   繁体   English

Tableau Rest Api特殊字符

[英]Tableau Rest Api special characters

I'm using Tableau Rest API to retrieve the list of workbooks from Tableau Server and show the list on a webpage. 我正在使用Tableau Rest API从Tableau Server检索工作簿列表,并在网页上显示该列表。 The problem is that special characters in workbook names have invalid encoding (or at least encoding that I do not expect). 问题在于工作簿名称中的特殊字符具有无效的编码(或至少是我所不希望的编码)。

Name set in Tableau server web UI: 在Tableau Server Web UI中设置的名称:

Book ó

Name retrieved from rest API: 从rest API检索的名称:

Book ó

As far as I can tell this issue occured after we upgraded Tableau server to 2018.1. 据我所知,将Tableau Server升级到2018.1。

Is there a way to specify the encoding in Tableau Rest API? 有没有办法在Tableau Rest API中指定编码? Or determine the encoding used to store the workbook name in Tableau Server web UI? 还是确定用于在Tableau Server Web UI中存储工作簿名称的编码?

事实证明,在Tableau Server更新到2018.1之后,C#WebClient需要将编码明确设置为UTF8,以便在查询Tableau REST API时正确处理特殊字符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM