想要将上标数据添加到Sqlite数据库 [英] Want to add Superscript data to Sqlite database

查看:89
本文介绍了想要将上标数据添加到Sqlite数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在iOS sdk中使用我的单位转换器应用程序的上标值和数据使sqlite Manager db成为像这张图片



并且像这样



最近我发现了这个这个网站,但找不到正确的一个
,感谢您的帮助。



我如何存储上述值?我的Sqlite3管理器数据库?



这是问题我想显示

解决方案

例如,



您想使用20th和th作为上标。首先找到t和h的Unicode字符。

  t =(U + 1D57)

h = (U + 02B0)

因此您以String的形式传递,如下所示: NSString * num = @ 20\u1d57\u02b0;



要查找unicode字符,请在Mac中使用字符查看器。 / p>

I want to make sqlite manager db with superscript values and data for my unit converter app in iOS sdk like this image

and like this

Recently I found this this site but unable to find correct one Any help will be appreciated thanks..

How can i Store values like as above in my Sqlite3 manager database?

Here is the problem I Wanted to display

解决方案

For example,

you want to use 20th and the th to be in superscript. First find the unicode characters of t and h.

t = (U+1D57)

h = (U+02B0)

So you pass in as String, like this: NSString *num = @"20\u1d57\u02b0";

To find the unicode characters, use character viewer in Mac.

这篇关于想要将上标数据添加到Sqlite数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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