我已经从rest api发送了印地语文本,并以未知格式将其保存在数据库中,那么如何将其恢复为java中的印地语文本。
我的编码文本是:-
$G 8, G 8>% (GM 9K 09> 9K 2G?(
更多信息请查看图片
show Hindi text encoded in the image below that saved in the database
最佳答案
将表中列的数据类型从 varchar 更新为 nvarchar。
varchar stores ASCII data and should be your data type of choice for normal use.
Nvarchar stores UNICODE data. If you have requirements to store UNICODE or multilingual data, nvarchar is the choice.
关于java - 我的印地语文本以未知格式编码如何从 java 反转它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58460941/