查看单个帖子
旧 2009-05-07, 12:28 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】readfile support for unicode filenames

readfile support for unicode filenames?
readfile support for unicode filenames?
what is the best way for me to load filenames containing chinese characters etc.. ? readfile accepts "odchar *" as the filename?
any suggestions?
cheers
jason
just worked out a work-around method for now using short filenames, but is there any future plans for supporting unicode, not sure if the short filenames will always work, but seems so far quite good.
cheers
jason
odchar* can point to mbcs string representing chinese characters on chinese computer.
sergey slezkin
there is more than one multi-byte character encoding. what encodings are specifically supported?

i overloaded the odrxobjectimpl<odstreambuf> class and passed its pointer to the exhostappservices::readfile() function, thus trapping all calls to read and write and providing my own implementation there.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)