Custom Module Output Text Unrecognize Character

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/3/2015 3:18:04 AM
Gravatar
Total Posts 8

Custom Module Output Text Unrecognize Character

Hi, I try to build custom module for mojoPortal. 

I use label to show Character(Chinese Traditional:產品生產廠283家), but custom module output result is 

unrecognize character(ex : ²£«~¥Í²£Œt 283 ®a). Can anyone help me to solve this problem?

 

3/3/2015 12:36:37 PM
Gravatar
Total Posts 18444

Re: Custom Module Output Text Unrecognize Character

this is not a mojoportal specific question, there are better resources for this question on the web.

I recommend do some googling for "asp.net chinese characters" and "html chinese characters" and "html chinese characters, codepage" and similar phrases and do some research about it.

It also depends on whether the Chinese text is coming from a database or being stored in a database, then the database, collation, charset are all important as well, characters can be lost on save if the database does not support the characters.

for html output you we typically use unicode/utf-8

so there are 2 areas of consideration, rendering Chinese in html and storing/retrieving from the database

You must sign in to post in the forums. This thread is closed to new posts.