EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB43922: How to change the character set when exporting a report to plain text in MicroStrategy Web?


Community Admin

• Strategy


For JSP web server, when exporting a report to plain text on MicroStrategy Web, the export engine in Intelligence server sends the data encoded in UTF-16 to web server. The web server will encode the plain text according to the locales.xml under Web_Server_Directory>WEB-INF>xml. It's only required to change the char-set value to desired charset in corresponding language to change the character set when exporting reports to plain text. For ASP web server, we are not able to change the encoding so far.

For JSP web server, when exporting a report to plain text on Strategy Web, the export engine in Intelligence server sends the data encoded in UTF-16 to web server. The web server will encode the plain text according to the locales.xml under Web_Server_Directory>WEB-INF>xml. It's only required to change the char-set value to desired charset in corresponding language to change the character set when exporting reports to plain text.
For example:
This is the original line for Japanese
Sql


<locale locale-id="1041" language="ja" country="JP" desc="Japanese" desc-id="mstrWeb.954" char-set="UTF-8" char-set-excel="UnicodeLittle" codepage="65001" codepage-excel="932" char-set-help="UTF-8" />

 
After changing the char-set value to Shift-JIS as below, the exported plain text file is encoded in Shift-JIS
Sql

<locale locale-id="1041" language="ja" country="JP" desc="Japanese" desc-id="mstrWeb.954" char-set="Shift-JIS" char-set-excel="UnicodeLittle" codepage="65001" codepage-excel="932" char-set-help="UTF-8" />

For ASP web server, we are not able to change the encoding so far.
 


Comment

0 comments

Details

Knowledge Article

Published:

April 3, 2017

Last Updated:

June 11, 2024