如何从文本框中存储oracle中的马拉地语单词 [英] How to store marathi words in oracle from a text box

查看:66
本文介绍了如何从文本框中存储oracle中的马拉地语单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的疑问是,我有一个文本框,现在设置字体是Marathi Font(或任何其他)。现在我可以在文本框中写下马拉地语单词。然后我想将数据存储到Oracle onClick的提交按钮。所以在servlet中我只是将该文本框值转换为一个字符串。但字符串对象的英文单词不是马拉地语单词。

My doubt is, i have one textbox, now set font is Marathi Font(or any other). Now i can write the Marathi words in text box .Then i want to store the data to Oracle onClick of Submit button. So in servlet i just get that textbox value to one string. But the string object is having english words not the marathi words .

推荐答案

您需要查找的关键字是i18n或多语言支持。 />


字节编码和字符串 [ ^ ] @ Java教程



您需要使用UTF-8编码。几乎同样的问题在这里问:



如何unicode缅甸关于Java的文本? [ ^ ]
The keyword you need to look for is "i18n" or "Multi language support".

Byte Encodings and Strings[^] @ the Java Tutorial

You need to use UTF-8 encoding. pretty much the same thingy asked here:

How to unicode Myanmar texts on Java?[^]


请通过支持oracle 10g中的马拉地语数据 [< a href =https://forums.oracle.com/forums/thread.jspa?threadID=1032454\"target =_ blanktitle =New Window> ^ ]。



官方文档链接

1. 支持使用Unicode的多语种数据库 [ ^ ]。

2. 一个区域设置数据 [ ^ ]。



谢谢......
Please go through Supporting marathi data in oracle 10g [^].

And the official documentation links
1. Supporting Multilingual Databases with Unicode[^].
2. A Locale Data[^].

Thanks...


这篇关于如何从文本框中存储oracle中的马拉地语单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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