TFont里的字符集只有以下这些,请问哪个支持GB13000:ANSI_CHARSET 0 ANSI characters. DEFAULT_CHARSET 1 Font is chosen based solely on Name and Size. If the described font is not available on the system, Windows will substitute another font. SYMBOL_CHARSET 2 Standard symbol set. MAC_CHARSET 77 Macintosh characters. Not available on NT 3.51. SHIFTJIS_CHARSET 128 Japanese shift-JIS characters. HANGEUL_CHARSET 129 Korean characters (Wansung). JOHAB_CHARSET 130 Korean characters (Johab). Not available on NT 3.51GB2312_CHARSET 134 Simplified Chinese characters (mainland china). CHINESEBIG5_CHARSET 136 Traditional Chinese characters (Taiwanese). GREEK_CHARSET 161 Greek characters. Not available on NT 3.51. TURKISH_CHARSET 162 Turkish characters. Not available on NT 3.51 VIETNAMESE_CHARSET 163 Vietnamese characters. Not available on NT 3.51. HEBREW_CHARSET 177 Hebrew characters. Not available on NT 3.51 ARABIC_CHARSET 178 Arabic characters. Not available on NT 3.51BALTIC_CHARSET 186 Baltic characters. Not available on NT 3.51. RUSSIAN_CHARSET 204 Cyrillic characters. Not available on NT 3.51. THAI_CHARSET 222 Thai characters. Not available on NT 3.51 EASTEUROPE_CHARSET 238 Includes diacritical s for eastern european countries. Not available on NT 3.51. OEM_CHARSET 255 Depends on the codepage of the operating system.
to aiirii(ari-爱的眼睛):我试了一下,与字符集没有关系的,在Delphi6、Delphi7里,字体的字符集设置为DEFAULT_CHARSET,不能显示,而在Delphi8里,字体的字符集也是DEFAULT_CHARSET,就可以显示,我怀疑是D6、D7的一些输入控件不支持一些少见的字符!我用的是GB13000,个别字无法输入
我有的是Delphi6 但输入法用的是微软拼音2003,大字符集里的生僻字是打得出来的
與你的edit的字符集設置有關吧
DEFAULT_CHARSET 1 Font is chosen based solely on Name and Size. If the described font is not available on the system, Windows will substitute another font.
SYMBOL_CHARSET 2 Standard symbol set.
MAC_CHARSET 77 Macintosh characters. Not available on NT 3.51.
SHIFTJIS_CHARSET 128 Japanese shift-JIS characters.
HANGEUL_CHARSET 129 Korean characters (Wansung).
JOHAB_CHARSET 130 Korean characters (Johab). Not available on NT 3.51GB2312_CHARSET 134 Simplified Chinese characters (mainland china).
CHINESEBIG5_CHARSET 136 Traditional Chinese characters (Taiwanese).
GREEK_CHARSET 161 Greek characters. Not available on NT 3.51.
TURKISH_CHARSET 162 Turkish characters. Not available on NT 3.51
VIETNAMESE_CHARSET 163 Vietnamese characters. Not available on NT 3.51.
HEBREW_CHARSET 177 Hebrew characters. Not available on NT 3.51
ARABIC_CHARSET 178 Arabic characters. Not available on NT 3.51BALTIC_CHARSET 186 Baltic characters. Not available on NT 3.51.
RUSSIAN_CHARSET 204 Cyrillic characters. Not available on NT 3.51.
THAI_CHARSET 222 Thai characters. Not available on NT 3.51
EASTEUROPE_CHARSET 238 Includes diacritical s for eastern european countries. Not available on NT 3.51.
OEM_CHARSET 255 Depends on the codepage of the operating system.
>>不支持GB13000
我也不是很清楚, 你試下如下:http://borland.mblogger.cn/aiirii/posts/1624.aspx
我下载了http://borland.mblogger.cn/aiirii/posts/1624.aspx构件,倒是很不错,
D5、D6、D7都可以接受GB13000的字符,输入时可以显示,可是在保存到数据库或文件
时,还是显示“?”,无法进行识别,还请大侠帮忙看看!这个到底是那里的问题?
http://community.csdn.net/Expert/TopicView.asp?id=3246374