You need to sign in to do that
Don't have an account?
unknown format in vf page while trying to display chinese language
HI i have a requirement in which i am loading a template from an external server which is in chinese, this template is working fine in external server but when i am trying to display this in visualforce page it is showing like this
如需帮助,请拨打å…�费电è¯�或通过邮件与我们è�”系。身为Visaæ— é™�å�¡æŒ�å�¡äººï¼Œæ‚¨è¿˜å�¯ä»¥å°Šäº«ä»¥ä¸‹ä¼˜è¶Šç¤¼é�‡ï¼š
指定高尔夫俱ä¹�部尊享å…�æžœå²è´¹ä¼˜æƒ
ä»¥ä¼˜æƒ ä»·æ ¼åœ¨å…¨ç�ƒ380家机场享å�—机场å��助ã€�å¿«é€Ÿé€šå…³ç‰æœ�务
租车æœ�务折扣优æƒ
When i email the same template it is displaying correctly.. With in the salesforce org it is not formatting prperly. Any suggestions to do this ???
如需帮助,请拨打å…�费电è¯�或通过邮件与我们è�”系。身为Visaæ— é™�å�¡æŒ�å�¡äººï¼Œæ‚¨è¿˜å�¯ä»¥å°Šäº«ä»¥ä¸‹ä¼˜è¶Šç¤¼é�‡ï¼š
指定高尔夫俱ä¹�部尊享å…�æžœå²è´¹ä¼˜æƒ
ä»¥ä¼˜æƒ ä»·æ ¼åœ¨å…¨ç�ƒ380家机场享å�—机场å��助ã€�å¿«é€Ÿé€šå…³ç‰æœ�务
租车æœ�务折扣优æƒ
When i email the same template it is displaying correctly.. With in the salesforce org it is not formatting prperly. Any suggestions to do this ???
Please change the formating if not already changed and let me know if this helps
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Eg : <apex:page language="en"> this is for engish
Try using the apex:page languege attribute
language String The language used to display labels that have associated translations in Salesforce. This value overrides the language of the user viewing the page. Possible values for this attribute include any language keys for languages supported by Salesforce, for example, "en" or "en-US".
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_page.htm
For chinese the keys below,
zh-tw Chinese (Taiwan) zh-cn Chinese (PRC)
zh-hk Chinese (Hong Kong SAR) zh-sg Chinese (Singapore)
http://msdn.microsoft.com/en-us/library/ms533052(v=vs.85).aspx
Regards,
Ashish
Hi developers thank you for your valuable suggestions.. I tried above mentioned methods. I think there is a problem in the JSON Response itself.. i am posting the response i am getting. Kindly suggest me a way to do this..