在水晶报表中以印地文字体打印值 [英] print value in hindi font in crystal report

查看:70
本文介绍了在水晶报表中以印地文字体打印值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用印地语字体打印表格字段的值.我是用unicode这样的方式将其插入印地文字体中的
插入值(N''个字段名称'')
这样插入的值就是我键入的方式,但是现在我想使用Crystal Report从表中打印一些值.请有人可以帮助我解决这个问题.
谢谢..

I want to print the value of my table''s field in hindi font. i was insert it in hindi font using unicode means like this
INSERT INTO VALUES (N'' fields name '')
so that the value inserted as it is how i was typed but now i want to use crystal report to print some values from my table. please some one can help me about this problem.
thank you..

推荐答案

感谢您的解决问题.
我在网上搜索了很多内容.
最后,我很想解决您的问题.

为了在印地文中设置数据,我们应该使用utf8字符集并与utf8_general_ci
进行归类
CREATE TABLE hindi5(hindi VARCHAR(100))字符集utf8 COLLATE utf8_general_ci;

现在,我无法在mysql命令行中插入写在文本文件中的印地文.
插入印地文值(HINDI TEXT);

但是它显示了问号(?).所以我用java netbeans并连接数据库.然后,我使用Java插入了行.然后我从命令行输入select *命令,但是显示的代码非常不同,我在命令行中不支持bcoz hindi.
然后要显示插入的文本,我再次使用java netbeans并选择command并得到与插入的文本相同的文本. :)

印地文

它能解决您的问题吗?
请回复.
Thank you for amazing problem.
I searched a lot on net for this.
Finally i am very closed to solve your problem.

For setting data in hindi we should use utf8 character set and collation with utf8_general_ci

CREATE TABLE hindi5(hindi VARCHAR(100)) CHARACTER SET utf8 COLLATE utf8_general_ci;

Now i cannot insert the hindi written in text file in mysql command line.
insert into hindi5 values(HINDI TEXT);

But it was showing question mark(?). So i use java netbeans and connected database to it. Then i inserted row using java. Then i give select * command from command line, but it was showing very different code, i thing bcoz hindi is not support in command line.
Then to display that inserted text i use java netbeans again and select command and got the same text as was inserted. :)

HINDI TEXT

Does it solve your problem?
Please reply.


在印地语中更改字体非常简单.我只是将其格式更改为mangla字体,然后它将告诉我我想要的结果.有时我们不知道问题出在哪里以及解决方案.对所有提出这个愚蠢问题的人表示抱歉.希望大家都不要介意.
谢谢....
It is so simple to change font in hindi. i just change it''s format to mangla font then it will show me my desire result. some times we don''t know what is the problem and there solution. sorry to all for asking this stupid question. hope you all don''t mind.
and thank you....


请参阅我对问题的评论.另请参见:
http://stackoverflow.com/questions/10965589/unicode-data-type-in​​-sql [ ^ ].

—SA
Please see my comments to the question. See also:
http://stackoverflow.com/questions/10965589/unicode-data-type-in-sql[^].

—SA


这篇关于在水晶报表中以印地文字体打印值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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