Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error happened when Chinese character with a skin..Error happened when Chinese character with a skin..
Previous
 
Next
New Post
2/24/2007 5:51 PM
 

I met some problem when I use Chinese character in the skin. Every Chinese character build inside the skin will become the error code when I see it in the browser. (ex: I want a button can show Chinese caption to users.)

Does anybody know how to fix this issue? Thank you~~~~

 
New Post
2/25/2007 12:48 PM
 

You could also have a look at a third party module by http://www.apollo-software.nl/ where it allows you to insert ML components inside your skin.

If that does not help then may be your question could be better answered in the Localization (Lead: Vicenç Masanas) forum.

Salar

 
New Post
2/25/2007 6:08 PM
 

I don't mean I have language problem when using module. Almost all modules work fine with Traditional Chinese. My problem is when I want to insert the Google Adsense Search code into the skin.(Building in the skin, not insert into the module.) I want all portals of my DNN install use the google search instead of the search module. Because currently DNN's search module doesn't work on Traditional Chinese. I try to use google search to help me to solve the search problem of Traditional Chinese through modify all skin codes.

Then I find Chinese word will change to some strange English characters after I surf the page. This issue also happened on other HTML components with Chinese characters.

This issue doesn't seems related to localization.(Nothing about the language pack.) Should I ask this issue from that forum?

 

 
New Post
2/25/2007 6:46 PM
 

OK

I am not familiar with implementing Google search in DNN. Let us know what code you are adding in your skin.

Salar

 
New Post
2/25/2007 8:24 PM
 

I used code here. I have modified it to formless code already.

<!-- SiteSearch Google -->
<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="coolcoolgame.com"></input>
<label for="sbi" style="display: none">輸入您的搜尋字詞</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">提交搜尋表單</label>
<input type="submit" name="sa" value="搜尋" id="sbb" onclick="this.form.action='http://www.google.com/custom';this.form.target='_top';this.form.method='GET';this.form.submit();" ></input>

</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
<label for="ss0" title="搜尋網頁"><font size="-1" color="#000000">Web</font></label></td>
<td>
<input type="radio" name="sitesearch" value="coolcoolgame.com" id="ss1"></input>
<label for="ss1" title="搜尋 coolcoolgame.com"><font size="-1" color="#000000">coolcoolgame.com</font></label></td>
</tr>
</table>
<input type="hidden" name="client" value="pub-6988193309725860"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>
<input type="hidden" name="hl" value="zh-TW"></input>
</td></tr></table>
<!-- SiteSearch Google -->

Here is the original code here.

<!-- SiteSearch Google -->
<form method="get" action="http://www.google.com.tw/custom" target="_top">
<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="coolcoolgame.com"></input>
<label for="sbi" style="display: none">輸入您的搜尋字詞</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">提交搜尋表單</label>
<input type="submit" name="sa" value="搜尋" id="sbb"></input>
</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
<label for="ss0" title="搜尋網頁"><font size="-1" color="#000000">Web</font></label></td>
<td>
<input type="radio" name="sitesearch" value="coolcoolgame.com" id="ss1"></input>
<label for="ss1" title="搜尋 coolcoolgame.com"><font size="-1" color="#000000">coolcoolgame.com</font></label></td>
</tr>
</table>
<input type="hidden" name="client" value="pub-6988193309725860"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>
<input type="hidden" name="hl" value="zh-TW"></input>
</td></tr></table>
</form>
<!-- SiteSearch Google -->

Here is the result I got form the browser's HTML source. Please compare the color words.

<!-- SiteSearch Google -->
<table border="0" bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
</td>
<td nowrap="nowrap">
<input type="hidden" name="domains" value="coolcoolgame.com"></input>
<label for="sbi" style="display: none">JzjMr</label>
<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">jM</label>
<input type="submit" name="sa" value="jM" id="sbb" onclick="this.form.action='http://www.google.com/custom';this.form.target='_top';this.form.method='GET';this.form.submit();" ></input>

</td></tr>
<tr>
<td>&nbsp;</td>
<td nowrap="nowrap">
<table>
<tr>
<td>
<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
<label for="ss0" title="jM"><font size="-1" color="#000000">Web</font></label></td>
<td>
<input type="radio" name="sitesearch" value="coolcoolgame.com" id="ss1"></input>
<label for="ss1" title="jM coolcoolgame.com"><font size="-1" color="#000000">coolcoolgame.com</font></label></td>
</tr>
</table>
<input type="hidden" name="client" value="pub-6988193309725860"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input>
<input type="hidden" name="hl" value="zh-TW"></input>
</td></tr></table>
<!-- SiteSearch Google -->

 

And there are another issue about the search result. I post it in the other post here.

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/108/threadid/110698/scope/posts/Default.aspx

Thanks for your help~~

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error happened when Chinese character with a skin..Error happened when Chinese character with a skin..


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out