Display name and caption written in different languages in saiku cube application

Asked By 30 points N/A Posted on -
qa-featured

Hi guys,

I am using saiku cube application and when I select a cube, the cube scheme appears as:

<cube name="allsales" caption="全部_销售">

As you all can see that the display name and caption are both written in different languages. Why is the display name not written in Chinese? Even if I write the display name as "全部_销售">, it works, but when I reopen the saved query, the following console exception occurs. The screenshot is attached below:

at java.lang.thread.run(Thread.java:662)

              at java.lang.thread.run(Thread.java:662)

Caused by: java.io.UTFDataFormatException: Invalid byte 1 if 1-byte UTF-8 sequence.

              at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)

              at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)

              at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)

This is showing me everything in the default language. What can I do to see it in Chinese?

Your help is needed in this regard.

Thanking you.

SHARE
Answered By 590495 points N/A #150328

Display name and caption written in different languages in saiku cube application

qa-featured

I think the reason why this is happening is that Chinese characters are not part of the standard Unicode format which is being followed and used by the program you are using. As what was described in your screenshot, the application you are using is using the UTF-8 format or the 8-bit Unicode Transformation Format, to expand the meaning.

This is the standard character encoding used by all web sites. Chinese characters are totally of a different format that’s why you received those errors with your program. If you will analyze the information in the screenshot, after you changed the characters to Chinese the program wasn’t able to recognize the characters used and generated the “Unknown Source” error, an invalid byte was reported by the UTF-8 reader.

The application will work fine if you will not force it to use the Chinese characters. You may also try upgrading your present version to the latest version if you happen to be using an older one. Download from Saiku 2.3.

Related Questions