读取具有Koren txt/VC ++的文件名 [英] Read file Name having some Koren txt/ VC++

查看:80
本文介绍了读取具有Koren txt/VC ++的文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能否请您解释一下我如何读取或获取用Koren txt加上英语txt编写的char *的值.

例子
char * temp ="SomeKoren Txt_ SomeEnglish Txt";
其中
SomeKoren Txt = koren txt,我无法在此处编写,因为它会在发布后转换一些垃圾值.
SomeEnglish Txt =一些英文txt;
我的问题是,如果我们用VC ++/C ++编写代码并声明一个变量char * temp ="MakeSence";那么temp将采用所有写在右侧"MakeSence"中的字符.但是,如果我们采用相同的变量并放置一些将Koren语言和英语结合使用的txt,则只有英语txt反映在左侧,而Koren Txt反映具有"???". txt为什么????
请尽快给出解决方案.为什么我们不能将Koren Txt用作char *?

Can you please explain how i can read or get the value of char * which is written in Koren txt Plus English txt.

Example
char * temp = "SomeKoren Txt_ SomeEnglish Txt";
where
SomeKoren Txt = koren txt which i can''t write here because it will convert some garbage values after posting.
SomeEnglish Txt = some english txt;
My question is if we write a code in VC++/C++ and declare a variable char *temp = "MakeSence"; then temp will take all the characters which is written on the right side that''s "MakeSence" but if we take a same variable and put some txt which is the combination of Koren language and English Language then only English txt is reflect on the Left side but Koren Txt reflect having "???" txt why ????
please give the solution asap. why we are not able to take the Koren Txt in the char * ?

推荐答案

以下内容包括Gulim字符,尽管只有在您的浏览器处理该字体时,它才能正确显示.

The following includes Gulim characters although it will only display correctly if your browser handles that font.

wchar_t unicodeString = L"abcdeᄧᄨᄩ"


这篇关于读取具有Koren txt/VC ++的文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆