unicode - How to insert Indian Rupees Symbol in Database (Oracle 10g, MySql 5.0 and Sql Server 2008)? -
how insert indian rupees symbol in database (oracle 10g, mysql 5.0 , sql server 2008)?
actually had 1 table "currency" , in 2 field "currencyname" , "currencysymbol", how insert new rupees symbol in databse.
there's nothing special ₹
(u+20b9 new rupee symbol), except that, being new, there 0 font support it. if you've got database connection supports unicode, can store other character:
insert currency (name, symbol) values ('inr', '₹');
(you want use nvarchar storage , n'₹'
in sql server.)
if haven't got unicode-safe connection (for example you're using crap tool windows console) have work around using eg.
values ('inr', char(226, 130, 185))
for utf-8-collated column in mysql, or nchar(8377)
unicode column in sql server.
Comments
Post a Comment