There are some plugin extensions would result incorrect render on below setting in TypoScript setup:

config.renderCharset = zh-TW ==> Don't set this before know how to fix.

Below known plugin extensions will effect:

  1. EXT: New Better FrontEnd Login Box
  2. EXT: Front End User Registration
  3. EXT: CHC Forum

Notes:

  • 改成UTF-8即可

Final soultion:

Setup:

# XHTML DOCTYPE
#######################################
config.doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
config.htmlTag_setParams =  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
##config.renderCharset = utf-8
##config.renderCharset = zh-TW
##config.metaCharset = zh-TW
##config.additionalHeaders = "Content-Type:text/html;charset=zh-TW"

###################
# this is for browser to output BIG5 html page
###################
config.additionalHeaders = "Content-Type:text/html;charset=zh-TW"
config.renderCharset = big5

###################
# this is for other plugin to display BIG5 html page on related language file
###################
config.languageKey = hk
config.language = hk

And, update several language files on above three plugin, include *.xml and *.php.

 

 

Notes on CountryCode:

  1. sr_feuser_register relies on sr_static_info, NOT the default
    static_info extension.
  2. Go to Templates->Constant Editor->PLUGIN.TX_SRSTATICINFO_PI1 and
    set the constant plugin.tx_srstaticinfo_pi1<wbr></wbr>.countryCode to whatever country is appropriate.