简体   繁体   中英

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. 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:

Book ó

Name retrieved from rest API:

Book ó

As far as I can tell this issue occured after we upgraded Tableau server to 2018.1.

Is there a way to specify the encoding in Tableau Rest API? Or determine the encoding used to store the workbook name in Tableau Server web UI?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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