BotDetect CAPTCHA Chinese Localization

Unlike Recaptcha the Stalker -- BotDetect CAPTCHA works in China! Licensable source-code; self-hosted -- doesn't stalk -- nor does it slurp your form-data! Think: GDPR & LGPD!

This page contains the details of Chinese Captcha (中国验证码, 中国captcha) locales fully supported by BotDetect, for which there are both localized Captcha images and audio Captcha sounds available.

Supported Chinese CAPTCHA Locales

Chinese Mandarin CAPTCHA

Captcha Locale overview:

Language Country BotDetect Locale settings
Mandarin PRC cmn, cmn-CN, zh-cmn-CN

Examples and specifications of individual Captcha feature localizations:

Chinese Mandarin Localized CAPTCHA Images

Example Captcha images generated by BotDetect using the base Simplified Han character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo

To use BotDetect Captcha images localized for the Chinese Mandarin Captcha Locale in your application, you can specify the Locale value:

  • In ASP.NET applications, you can use either the .aspx page source:
    <!-- Captcha control localized to Chinese Mandarin -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="zh-cmn-CN" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Chinese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-CN";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Chinese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-CN"

    or Locale-dependent Captcha strings can be configured on application level in the <botDetect> Web.config configuration section:

    <botDetect locale="zh-cmn-CN" 
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>zh-cmn-CN</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("zh-cmn-CN"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="zh-cmn-CN"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="zh-cmn-CN"
    
  • In ASP Classic applications, you can use either the application-global setting in the BotDetect\CaptchaConfig.asp file:
    ' Set the default Locale for all Captcha instances in the 
    ' Classic ASP application to Chinese Mandarin
    BotDetect.Locale = "zh-cmn-CN"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Chinese Mandarin
      ExampleCaptcha.Locale = "zh-cmn-CN"
      Response.Write ExampleCaptcha.Html
    %>
  • In PHP applications, you can use either the application-global setting in the lib/botdetect/CaptchaConfigDefaults.php file:
    // Set the default Locale for all Captcha instances in the 
    // PHP application to Chinese Mandarin
    $BDC_CaptchaConfig->Locale = 'zh-cmn-CN';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Chinese Mandarin
      $ExampleCaptcha->Locale = 'zh-cmn-CN';
      echo $ExampleCaptcha->Html(); 
    ?>

Chinese Mandarin Localized Audio CAPTCHA Sounds

Example audio Captcha sounds generated by BotDetect using the Chinese Mandarin Locale setting can be heard in the BotDetect Captcha features demo

To use BotDetect sounds localized for the Chinese Mandarin Captcha Locale, you should also download the Chinese Mandarin Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:

  • ASP.NET applications use Bin\BotDetectSounds by default. A custom folder can be specified in the <botDetect> configuration section.
  • Java applications use WEB-INF\BotDetectSounds by default. A custom folder can be specified in the web.xml configuration file setting.
  • ASP Classic applications use Redistribute\BotDetectSounds in the BotDetect installation folder by default. A custom folder can be specified in the BotDetect/CaptchaConfig.asp file.
  • PHP applications always use lib/botdetect/Resources/Sounds.

Chinese Mandarin Localized CAPTCHA Codes

The zh-cmn-CN Captcha locale uses the default Simplified Han character set, consisting of 22 Wubi keyboard input method representative characters.

Unicode Captcha Codes and Font Requirements

This table on the left uses the actual Unicode characters drawn in localized Captcha images.

Displaying these characters in your browser requires having fonts which support them installed on the client machine.

In ASP.NET and ASP Classic versions of BotDetect, generating localized Captcha images using these characters also requires supporting fonts on your server.

If viewing these characters in your browser or generating them in Captcha images on your server fails, you can enable the required localization support for on both client and server machines using Control Panel:

Windows 2000, XP, 2003 Server: Regional and Language Options → Languages → Supplemental language support.

Windows Vista, 7, 2008 Server: Region and Language → Keyboards and Languages → Install/uninstall languages.

CodeStyle.Alpha Chinese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x91D1 gold
0x4EBA person
0x6708 moon
0x767D white
0x79BE grain
0x8A00 speech
0x7ACB stand
0x6C34 water (not used)
0x706B fire
0x4E4B it
0x5DE5 work
0x6728 wood (not used)
0x5927 big
0x571F earth
0x738B king
0x76EE eye
0x65E5 sun
0x53E3 mouth
0x7530 field
0x5C71 mountain
0x53C8 again
0x5973 woman
0x5B50 child
0x5DF2 already
CodeStyle.Numeric Chinese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9
CodeStyle.Alphanumeric Chinese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x91D1 gold
0x4EBA person
0x6708 moon
0x767D white
0x79BE grain
0x8A00 speech
0x7ACB stand
0x6C34 water (not used)
0x706B fire
0x4E4B it
0x5DE5 work
0x6728 wood (not used)
0x5927 big
0x571F earth
0x738B king
0x76EE eye
0x65E5 sun
0x53E3 mouth
0x7530 field
0x5C71 mountain
0x53C8 again
0x5973 woman
0x5B50 child
0x5DF2 already
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9

Hong Kong Cantonese CAPTCHA

Captcha Locale overview:

Language Country BotDetect Locale settings
Cantonese Hong Kong yue-HK, zh-yue-HK

Examples and specifications of individual Captcha feature localizations:

Hong Kong Cantonese Localized CAPTCHA Images

Example Captcha images generated by BotDetect using the base Traditional Han character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo

To use BotDetect Captcha images localized for the Hong Kong Cantonese Captcha Locale in your application, you can specify the Locale value:

  • In ASP.NET applications, you can use either the .aspx page source:
    <!-- Captcha control localized to Hong Kong Cantonese -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="zh-yue-HK" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Hong Kong Cantonese    
    ExampleCaptcha.Locale = "zh-yue-HK";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Hong Kong Cantonese    
    ExampleCaptcha.Locale = "zh-yue-HK"

    or Locale-dependent Captcha strings can be configured on application level in the <botDetect> Web.config configuration section:

    <botDetect locale="zh-yue-HK" 
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>zh-yue-HK</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("zh-yue-HK"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="zh-yue-HK"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="zh-yue-HK"
    
  • In ASP Classic applications, you can use either the application-global setting in the BotDetect\CaptchaConfig.asp file:
    ' Set the default Locale for all Captcha instances in the 
    ' Classic ASP application to Hong Kong Cantonese
    BotDetect.Locale = "zh-yue-HK"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Hong Kong Cantonese
      ExampleCaptcha.Locale = "zh-yue-HK"
      Response.Write ExampleCaptcha.Html
    %>
  • In PHP applications, you can use either the application-global setting in the lib/botdetect/CaptchaConfigDefaults.php file:
    // Set the default Locale for all Captcha instances in the 
    // PHP application to Hong Kong Cantonese
    $BDC_CaptchaConfig->Locale = 'zh-yue-HK';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Hong Kong Cantonese
      $ExampleCaptcha->Locale = 'zh-yue-HK';
      echo $ExampleCaptcha->Html(); 
    ?>

Hong Kong Cantonese Localized Audio CAPTCHA Sounds

Example audio Captcha sounds generated by BotDetect using the Hong Kong Cantonese Locale setting can be heard in the BotDetect Captcha features demo

To use BotDetect sounds localized for the Hong Kong Cantonese Captcha Locale, you should also download the Hong Kong Cantonese Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:

  • ASP.NET applications use Bin\BotDetectSounds by default. A custom folder can be specified in the <botDetect> configuration section.
  • Java applications use WEB-INF\BotDetectSounds by default. A custom folder can be specified in the web.xml configuration file setting.
  • ASP Classic applications use Redistribute\BotDetectSounds in the BotDetect installation folder by default. A custom folder can be specified in the BotDetect/CaptchaConfig.asp file.
  • PHP applications always use lib/botdetect/Resources/Sounds.

Hong Kong Cantonese Localized CAPTCHA Codes

The zh-yue-HK Captcha locale uses the default Traditional Han character set, consisting of 22 Cangjie radicals.

Unicode Captcha Codes and Font Requirements

This table on the left uses the actual Unicode characters drawn in localized Captcha images.

Displaying these characters in your browser requires having fonts which support them installed on the client machine.

In ASP.NET and ASP Classic versions of BotDetect, generating localized Captcha images using these characters also requires supporting fonts on your server.

If viewing these characters in your browser or generating them in Captcha images on your server fails, you can enable the required localization support for on both client and server machines using Control Panel:

Windows 2000, XP, 2003 Server: Regional and Language Options → Languages → Supplemental language support.

Windows Vista, 7, 2008 Server: Region and Language → Keyboards and Languages → Install/uninstall languages.

CodeStyle.Alpha Hong Kong Cantonese CAPTCHA Characters
Unicode code point Name Character
0x4E00 one (not used)
0x4E2D centre
0x4EBA person
0x5341 ten
0x535C fortune telling
0x53E3 mouth
0x571F earth
0x5927 big
0x5973 woman
0x5C38 corpse
0x5C71 mountain
0x5EFF twenty 廿
0x5F13 bow
0x5FC3 heart
0x6208 weapon
0x624B hand
0x65E5 sun
0x6708 moon
0x6728 wood (not used)
0x6C34 water (not used)
0x706B fire
0x7530 field
0x7AF9 bamboo
0x91D1 gold
CodeStyle.Numeric Hong Kong Cantonese CAPTCHA Characters
Unicode code point Name Character
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9
CodeStyle.Alphanumeric Hong Kong Cantonese CAPTCHA Characters
Unicode code point Name Character
0x4E00 one (not used)
0x4E2D centre
0x4EBA person
0x5341 ten
0x535C fortune telling
0x53E3 mouth
0x571F earth
0x5927 big
0x5973 woman
0x5C38 corpse
0x5C71 mountain
0x5EFF twenty 廿
0x5F13 bow
0x5FC3 heart
0x6208 weapon
0x624B hand
0x65E5 sun
0x6708 moon
0x6728 wood (not used)
0x6C34 water (not used)
0x706B fire
0x7530 field
0x7AF9 bamboo
0x91D1 gold
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9

Hong Kong Cantonese numbers & English letters, Latin

Captcha Locale overview:

Language Country BotDetect Locale settings
Cantonese Hong Kong yue-Latn-HK, zh-yue-Latn-HK

Examples and specifications of individual Captcha feature localizations:

Hong Kong Cantonese Localized CAPTCHA Images

Example Captcha images generated by BotDetect using the base Traditional Han character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo

To use BotDetect Captcha images localized for the Hong Kong Cantonese Captcha Locale in your application, you can specify the Locale value:

  • In ASP.NET applications, you can use either the .aspx page source:
    <!-- Captcha control localized to Hong Kong Cantonese -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="zh-yue-Latn-HK" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Hong Kong Cantonese    
    ExampleCaptcha.Locale = "zh-yue-Latn-HK";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Hong Kong Cantonese    
    ExampleCaptcha.Locale = "zh-yue-Latn-HK"

    or Locale-dependent Captcha strings can be configured on application level in the <botDetect> Web.config configuration section:

    <botDetect locale="zh-yue-Latn-HK" 
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>zh-yue-Latn-HK</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("zh-yue-Latn-HK"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="zh-yue-Latn-HK"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="zh-yue-Latn-HK"
    
  • In ASP Classic applications, you can use either the application-global setting in the BotDetect\CaptchaConfig.asp file:
    ' Set the default Locale for all Captcha instances in the 
    ' Classic ASP application to Hong Kong Cantonese
    BotDetect.Locale = "zh-yue-Latn-HK"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Hong Kong Cantonese
      ExampleCaptcha.Locale = "zh-yue-Latn-HK"
      Response.Write ExampleCaptcha.Html
    %>
  • In PHP applications, you can use either the application-global setting in the lib/botdetect/CaptchaConfigDefaults.php file:
    // Set the default Locale for all Captcha instances in the 
    // PHP application to Hong Kong Cantonese
    $BDC_CaptchaConfig->Locale = 'zh-yue-Latn-HK';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Hong Kong Cantonese
      $ExampleCaptcha->Locale = 'zh-yue-Latn-HK';
      echo $ExampleCaptcha->Html(); 
    ?>

Hong Kong Cantonese Localized Audio CAPTCHA Sounds

Example audio Captcha sounds generated by BotDetect using the Hong Kong Cantonese Locale setting can be heard in the BotDetect Captcha features demo

To use BotDetect sounds localized for the Hong Kong Cantonese Captcha Locale, you should also download the Hong Kong Cantonese Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:

  • ASP.NET applications use Bin\BotDetectSounds by default. A custom folder can be specified in the <botDetect> configuration section.
  • Java applications use WEB-INF\BotDetectSounds by default. A custom folder can be specified in the web.xml configuration file setting.
  • ASP Classic applications use Redistribute\BotDetectSounds in the BotDetect installation folder by default. A custom folder can be specified in the BotDetect/CaptchaConfig.asp file.
  • PHP applications always use lib/botdetect/Resources/Sounds.

Hong Kong Cantonese Localized CAPTCHA Codes

The zh-yue-Latn-HK Captcha locale uses the default Traditional Han character set, consisting of 24 Cangjie radicals.

Unicode Captcha Codes and Font Requirements

This table on the left uses the actual Unicode characters drawn in localized Captcha images.

Displaying these characters in your browser requires having fonts which support them installed on the client machine.

In ASP.NET and ASP Classic versions of BotDetect, generating localized Captcha images using these characters also requires supporting fonts on your server.

If viewing these characters in your browser or generating them in Captcha images on your server fails, you can enable the required localization support for on both client and server machines using Control Panel:

Windows 2000, XP, 2003 Server: Regional and Language Options → Languages → Supplemental language support.

Windows Vista, 7, 2008 Server: Region and Language → Keyboards and Languages → Install/uninstall languages.

CodeStyle.Alpha Hong Kong Cantonese CAPTCHA Characters
Unicode code point Name Character
0x0041 a A
0x0042 bee B
0x0043 cee C
0x0044 dee D
0x0045 e E
0x0046 ef F (not used)
0x0047 gee G (not used)
0x0048 (h)aitch H
0x0049 i I (not used)
0x004A jay J
0x004B kay K
0x004C el L (not used)
0x004D em M
0x004E en N
0x004F o O
0x0050 pee P
0x0051 cue Q (not used)
0x0052 ar R
0x0053 ess S
0x0054 tee T
0x0055 u U
0x0056 vee V
0x0057 double-u W
0x0058 ex X
0x0059 wy(e) Y
0x005A zed Z
CodeStyle.Numeric Hong Kong Cantonese CAPTCHA Characters
Unicode code point Name Character
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9
CodeStyle.Alphanumeric Hong Kong Cantonese CAPTCHA Characters
Unicode code point Name Character
0x0041 a A
0x0042 bee B
0x0043 cee C
0x0044 ded D
0x0045 e E
0x0046 ef F (not used)
0x0047 gee G (not used)
0x0048 (h)aitch H
0x0049 i I (not used)
0x004A jay J
0x004B kay K
0x004C el L (not used)
0x004D em M
0x004E en N
0x004F o O (not used)
0x0050 pee P
0x0051 cue Q (not used)
0x0052 ar R
0x0053 ess S
0x0054 tee T
0x0055 u U
0x0056 vee V
0x0057 double-u W
0x0058 ex X
0x0059 wy(e) Y
0x005A zed Z (not used)
0x0030 zero 0 (not used)
0x0031 one 1 (not used)
0x0032 two 2 (not used)
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9

Taiwanese Mandarin CAPTCHA (Traditional Han)

Captcha Locale overview:

Language Country BotDetect Locale settings
Mandarin TW zh-Hant, cmn-Hant, zh-cmn-Hant, zh-Hant-TW, cmn-Hant-TW, zh-cmn-Hant-TW

Examples and specifications of individual Captcha feature localizations:

Taiwanese Mandarin Localized CAPTCHA Images

Example Captcha images generated by BotDetect using the base Simplified Han character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo

To use BotDetect Captcha images localized for the Taiwanese Mandarin Captcha Locale in your application, you can specify the Locale value:

  • In ASP.NET applications, you can use either the .aspx page source:
    <!-- Captcha control localized to Taiwanese Mandarin -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="zh-cmn-Hant-TW" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Taiwanese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-Hant-TW";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Taiwanese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-Hant-TW"

    or Locale-dependent Captcha strings can be configured on application level in the <botDetect> Web.config configuration section:

    <botDetect locale="zh-cmn-Hant-TW" 
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>zh-cmn-Hant-TW</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("zh-cmn-Hant-TW"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="zh-cmn-Hant-TW"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="zh-cmn-Hant-TW"
    
  • In ASP Classic applications, you can use either the application-global setting in the BotDetect\CaptchaConfig.asp file:
    ' Set the default Locale for all Captcha instances in the 
    ' Classic ASP application to Taiwanese Mandarin
    BotDetect.Locale = "zh-cmn-Hant-TW"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Taiwanese Mandarin
      ExampleCaptcha.Locale = "zh-cmn-Hant-TW"
      Response.Write ExampleCaptcha.Html
    %>
  • In PHP applications, you can use either the application-global setting in the lib/botdetect/CaptchaConfigDefaults.php file:
    // Set the default Locale for all Captcha instances in the 
    // PHP application to Taiwanese Mandarin
    $BDC_CaptchaConfig->Locale = 'zh-cmn-Hant-TW';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Taiwanese Mandarin
      $ExampleCaptcha->Locale = 'zh-cmn-Hant-TW';
      echo $ExampleCaptcha->Html(); 
    ?>

Taiwanese Mandarin Localized Audio CAPTCHA Sounds

Example audio Captcha sounds generated by BotDetect using the Taiwanese Mandarin Locale setting can be heard in the BotDetect Captcha features demo

To use BotDetect sounds localized for the Taiwanese Mandarin Captcha Locale, you should also download the Taiwanese Mandarin Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:

  • ASP.NET applications use Bin\BotDetectSounds by default. A custom folder can be specified in the <botDetect> configuration section.
  • Java applications use WEB-INF\BotDetectSounds by default. A custom folder can be specified in the web.xml configuration file setting.
  • ASP Classic applications use Redistribute\BotDetectSounds in the BotDetect installation folder by default. A custom folder can be specified in the BotDetect/CaptchaConfig.asp file.
  • PHP applications always use lib/botdetect/Resources/Sounds.

Taiwanese Mandarin Localized CAPTCHA Codes

The zh-cmn-Hant-TW Captcha locale uses the default Traditional Han character set, consisting of 22 Cangjie radicals.

Unicode Captcha Codes and Font Requirements

This table on the left uses the actual Unicode characters drawn in localized Captcha images.

Displaying these characters in your browser requires having fonts which support them installed on the client machine.

In ASP.NET and ASP Classic versions of BotDetect, generating localized Captcha images using these characters also requires supporting fonts on your server.

If viewing these characters in your browser or generating them in Captcha images on your server fails, you can enable the required localization support for on both client and server machines using Control Panel:

Windows 2000, XP, 2003 Server: Regional and Language Options → Languages → Supplemental language support.

Windows Vista, 7, 2008 Server: Region and Language → Keyboards and Languages → Install/uninstall languages.

CodeStyle.Alpha Taiwanese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x4E00 one (not used)
0x4E2D centre
0x4EBA person
0x5341 ten
0x535C fortune telling
0x53E3 mouth
0x571F earth
0x5927 big
0x5973 woman
0x5C38 corpse
0x5C71 mountain
0x5EFF twenty 廿
0x5F13 bow
0x5FC3 heart
0x6208 weapon
0x624B hand
0x65E5 sun
0x6708 moon
0x6728 wood (not used)
0x6C34 water (not used)
0x706B fire
0x7530 field
0x7AF9 bamboo
0x91D1 gold
CodeStyle.Numeric Taiwanese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9
CodeStyle.Alphanumeric Taiwanese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x4E00 one (not used)
0x4E2D centre
0x4EBA person
0x5341 ten
0x535C fortune telling
0x53E3 mouth
0x571F earth
0x5927 big
0x5973 woman
0x5C38 corpse
0x5C71 mountain
0x5EFF twenty 廿
0x5F13 bow
0x5FC3 heart
0x6208 weapon
0x624B hand
0x65E5 sun
0x6708 moon
0x6728 wood (not used)
0x6C34 water (not used)
0x706B fire
0x7530 field
0x7AF9 bamboo
0x91D1 gold

Taiwanese Mandarin CAPTCHA (Bopomofo)

Captcha Locale overview:

Language Country BotDetect Locale settings
Mandarin TW zh-Bopo, cmn-Bopo, zh-cmn-Bopo, zh-Bopo-TW, cmn-Bopo-TW, zh-cmn-Bopo-TW

Examples and specifications of individual Captcha feature localizations:

Taiwanese Mandarin Localized CAPTCHA Images

Example Captcha images generated by BotDetect using the base Simplified Han character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo

To use BotDetect Captcha images localized for the Taiwanese Mandarin Captcha Locale in your application, you can specify the Locale value:

  • In ASP.NET applications, you can use either the .aspx page source:
    <!-- Captcha control localized to Taiwanese Mandarin -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="zh-cmn-Bopo-TW" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Taiwanese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-Bopo-TW";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Taiwanese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-Bopo-TW"

    or Locale-dependent Captcha strings can be configured on application level in the <botDetect> Web.config configuration section:

    <botDetect locale="zh-cmn-Bopo-TW" 
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>zh-cmn-Bopo-TW</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("zh-cmn-Bopo-TW"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="zh-cmn-Bopo-TW"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="zh-cmn-Bopo-TW"
    
  • In ASP Classic applications, you can use either the application-global setting in the BotDetect\CaptchaConfig.asp file:
    ' Set the default Locale for all Captcha instances in the 
    ' Classic ASP application to Taiwanese Mandarin
    BotDetect.Locale = "zh-cmn-Bopo-TW"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Taiwanese Mandarin
      ExampleCaptcha.Locale = "zh-cmn-Bopo-TW"
      Response.Write ExampleCaptcha.Html
    %>
  • In PHP applications, you can use either the application-global setting in the lib/botdetect/CaptchaConfigDefaults.php file:
    // Set the default Locale for all Captcha instances in the 
    // PHP application to Taiwanese Mandarin
    $BDC_CaptchaConfig->Locale = 'zh-cmn-Bopo-TW';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Taiwanese Mandarin
      $ExampleCaptcha->Locale = 'zh-cmn-Bopo-TW';
      echo $ExampleCaptcha->Html(); 
    ?>

Taiwanese Mandarin Localized Audio CAPTCHA Sounds

Example audio Captcha sounds generated by BotDetect using the Taiwanese Mandarin Locale setting can be heard in the BotDetect Captcha features demo

To use BotDetect sounds localized for the Taiwanese Mandarin Captcha Locale, you should also download the Taiwanese Mandarin Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:

  • ASP.NET applications use Bin\BotDetectSounds by default. A custom folder can be specified in the <botDetect> configuration section.
  • Java applications use WEB-INF\BotDetectSounds by default. A custom folder can be specified in the web.xml configuration file setting.
  • ASP Classic applications use Redistribute\BotDetectSounds in the BotDetect installation folder by default. A custom folder can be specified in the BotDetect/CaptchaConfig.asp file.
  • PHP applications always use lib/botdetect/Resources/Sounds.

Taiwanese Mandarin Localized CAPTCHA Codes

The zh-cmn-Bopo-TW Captcha locale uses a modified version of the Bopomofo character set without the ㄟ and ㄧ characters for a total of 35 Bopomofo characters.

Unicode Captcha Codes and Font Requirements

This table on the left uses the actual Unicode characters drawn in localized Captcha images.

Displaying these characters in your browser requires having fonts which support them installed on the client machine.

In ASP.NET and ASP Classic versions of BotDetect, generating localized Captcha images using these characters also requires supporting fonts on your server.

If viewing these characters in your browser or generating them in Captcha images on your server fails, you can enable the required localization support for on both client and server machines using Control Panel:

Windows 2000, XP, 2003 Server: Regional and Language Options → Languages → Supplemental language support.

Windows Vista, 7, 2008 Server: Region and Language → Keyboards and Languages → Install/uninstall languages.

CodeStyle.Alpha Taiwanese Mandarin CAPTCHA Bopomofo Characters
Unicode code point Name Character
0x3105 B
0x3106 P
0x3107 M
0x3108 F
0x3109 D
0x310A T
0x310B N
0x310C L
0x310D G
0x310E K
0x310F H
0x3110 J
0x3111 Q
0x3112 X
0x3113 Zh
0x3114 Ch
0x3115 Sh
0x3116 R
0x3117 Z
0x3118 C
0x3119 S
0x311A A
0x311B O
0x311C E
0x311D Eh
0x311E Ai
0x311F Ei (not used)
0x3120 Au
0x3121 Ou
0x3122 An
0x3123 En
0x3124 Ang
0x3125 Eng
0x3126 Er
0x3127 I (not used)
0x3128 U
0x3129 Iu
CodeStyle.Numeric Taiwanese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9
CodeStyle.Alphanumeric Taiwanese Mandarin CAPTCHA Characters
Unicode code point Name Character
Unicode code point Name Character
0x3105 B
0x3106 P
0x3107 M
0x3108 F
0x3109 D
0x310A T
0x310B N
0x310C L
0x310D G
0x310E K
0x310F H
0x3110 J
0x3111 Q
0x3112 X
0x3113 Zh
0x3114 Ch
0x3115 Sh
0x3116 R
0x3117 Z
0x3118 C
0x3119 S
0x311A A
0x311B O
0x311C E
0x311D Eh
0x311E Ai
0x311F Ei (not used)
0x3120 Au
0x3121 Ou
0x3122 An
0x3123 En
0x3124 Ang
0x3125 Eng
0x3126 Er
0x3127 I (not used)
0x3128 U
0x3129 Iu
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9

Taiwanese Mandarin numbers & English letters, Latin

Captcha Locale overview:

Language Country BotDetect Locale settings
Mandarin TW cmn-Latn-TW, zh-cmn-Latn-TW, zh-Latn-TW

Examples and specifications of individual Captcha feature localizations:

Taiwanese Mandarin Localized CAPTCHA Images

Example Captcha images generated by BotDetect using the base Simplified Han character set for all Captcha ImageStyle values can be seen in the BotDetect Captcha image styles demo

To use BotDetect Captcha images localized for the Taiwanese Mandarin Captcha Locale in your application, you can specify the Locale value:

  • In ASP.NET applications, you can use either the .aspx page source:
    <!-- Captcha control localized to Taiwanese Mandarin -->
    <BotDetect:WebFormsCaptcha ID="ExampleCaptcha" runat="server" Locale="zh-cmn-Bopo-TW" />
    or the page code-behind:
    [C#]
        
    // Set the Captcha instance Locale to Taiwanese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-Latn-TW";
    [VB.NET]
        
    ' Set the Captcha instance Locale to Taiwanese Mandarin    
    ExampleCaptcha.Locale = "zh-cmn-Latn-TW"

    or Locale-dependent Captcha strings can be configured on application level in the <botDetect> Web.config configuration section:

    <botDetect locale="zh-cmn-Latn-TW" 
  • In Java applications, you can use either the application web.xml configuration file setting:
    <context-param>
      <param-name>BDC_locale</param-name>
      <param-value>zh-cmn-Latn-TW</param-value>
    </context-param>
    
    or the Captcha object instance-specific value:
    exampleCaptcha.setLocale("zh-cmn-Latn-TW"); 
    
    or Standard / Facelets JSF Captcha Tag page source:
    <botDetect:jsfCaptcha id="exampleCaptcha" locale="zh-cmn-Latn-TW"
    
    or JSP Captcha Tag page source:
    <botDetect:captcha id="exampleCaptcha" locale="zh-cmn-Latn-TW"
    
  • In ASP Classic applications, you can use either the application-global setting in the BotDetect\CaptchaConfig.asp file:
    ' Set the default Locale for all Captcha instances in the 
    ' Classic ASP application to Taiwanese Mandarin
    BotDetect.Locale = "zh-cmn-Latn-TW"
    or the Captcha object instance-specific value:
    <%
      Dim ExampleCaptcha : Set ExampleCaptcha = (New Captcha)("ExampleCaptcha")
      ExampleCaptcha.UserInputID = "CaptchaCode"
      ' Set the Captcha object instance Locale to Taiwanese Mandarin
      ExampleCaptcha.Locale = "zh-cmn-Latn-TW"
      Response.Write ExampleCaptcha.Html
    %>
  • In PHP applications, you can use either the application-global setting in the lib/botdetect/CaptchaConfigDefaults.php file:
    // Set the default Locale for all Captcha instances in the 
    // PHP application to Taiwanese Mandarin
    $BDC_CaptchaConfig->Locale = 'zh-cmn-Latn-TW';
    or the Captcha object instance-specific value:
    <?php 
      $ExampleCaptcha = new Captcha("ExampleCaptcha");
      $ExampleCaptcha->UserInputID = "CaptchaCode";
      // Set the Captcha object instance Locale to Taiwanese Mandarin
      $ExampleCaptcha->Locale = 'zh-cmn-Latn-TW';
      echo $ExampleCaptcha->Html(); 
    ?>

Taiwanese Mandarin Localized Audio CAPTCHA Sounds

Example audio Captcha sounds generated by BotDetect using the Taiwanese Mandarin Locale setting can be heard in the BotDetect Captcha features demo

To use BotDetect sounds localized for the Taiwanese Mandarin Captcha Locale, you should also download the Taiwanese Mandarin Pronunciation Sound Package and deploy the .bdsp file to the BotDetect sounds folder your application uses:

  • ASP.NET applications use Bin\BotDetectSounds by default. A custom folder can be specified in the <botDetect> configuration section.
  • Java applications use WEB-INF\BotDetectSounds by default. A custom folder can be specified in the web.xml configuration file setting.
  • ASP Classic applications use Redistribute\BotDetectSounds in the BotDetect installation folder by default. A custom folder can be specified in the BotDetect/CaptchaConfig.asp file.
  • PHP applications always use lib/botdetect/Resources/Sounds.

Taiwanese Mandarin Localized CAPTCHA Codes

The zh-cmn-Latn-TW Captcha locale uses a modified version of the Latin character set without the ㄟ and ㄧ characters for a total of 35 Latin characters.

Unicode Captcha Codes and Font Requirements

This table on the left uses the actual Unicode characters drawn in localized Captcha images.

Displaying these characters in your browser requires having fonts which support them installed on the client machine.

In ASP.NET and ASP Classic versions of BotDetect, generating localized Captcha images using these characters also requires supporting fonts on your server.

If viewing these characters in your browser or generating them in Captcha images on your server fails, you can enable the required localization support for on both client and server machines using Control Panel:

Windows 2000, XP, 2003 Server: Regional and Language Options → Languages → Supplemental language support.

Windows Vista, 7, 2008 Server: Region and Language → Keyboards and Languages → Install/uninstall languages.

CodeStyle.Alpha Taiwanese Mandarin CAPTCHA Latin Characters
Unicode code point Name Character
0x0041 a A
0x0042 bee B
0x0043 cee C
0x0044 dee D
0x0045 e E
0x0046 ef F (not used)
0x0047 gee G (not used)
0x0048 (h)aitch H
0x0049 i I (not used)
0x004A jay J
0x004B kay K
0x004C el L (not used)
0x004D em M
0x004E en N
0x004F o O
0x0050 pee P
0x0051 cue Q (not used)
0x0052 ar R
0x0053 ess S
0x0054 tee T
0x0055 u U
0x0056 vee V
0x0057 double-u W
0x0058 ex X
0x0059 wy(e) Y
0x005A zee Z
CodeStyle.Numeric Taiwanese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x0030 zero 0
0x0031 one 1
0x0032 two 2
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9
CodeStyle.Alphanumeric Taiwanese Mandarin CAPTCHA Characters
Unicode code point Name Character
0x0041 a A
0x0042 bee B
0x0043 cee C
0x0044 ded D
0x0045 e E
0x0046 ef F (not used)
0x0047 gee G (not used)
0x0048 (h)aitch H
0x0049 i I (not used)
0x004A jay J
0x004B kay K
0x004C el L (not used)
0x004D em M
0x004E en N
0x004F o O (not used)
0x0050 pee P
0x0051 cue Q (not used)
0x0052 ar R
0x0053 ess S
0x0054 tee T
0x0055 u U
0x0056 vee V
0x0057 double-u W
0x0058 ex X
0x0059 wy(e) Y
0x005A zed Z (not used)
0x0030 zero 0 (not used)
0x0031 one 1 (not used)
0x0032 two 2 (not used)
0x0033 three 3
0x0034 four 4
0x0035 five 5
0x0036 six 6
0x0037 seven 7 (not used)
0x0038 eight 8
0x0039 nine 9

Current BotDetect Versions