What is the encoding type yocto support

What is the encoding type yocto support

I havesome programswrittenwith QT, which containssome of theChinese.YoctonotsupportdisplayChinese.How do Imakeyoctosupport theChinese?yocotencodingtypeis it?

7 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I think QT do support Chinese, maybe you need a unicode font which contains Chinese character.

I agree.We need several recipes to install some free Chinese fonts into Yocto Linux.I happened to port 2 font recipes from openembedded. Let me share them.

Please see http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-contrib/log/?h=esdc2012/poky
for the top 2 commits for the 2 font recipes.

Add the recipes into your poky source

(If you have the git repository, this
should be very simple: $ git fetch
&& git rebase origin/esdc2012/poky)

Next, add a line into your local.conf
(please note: don't omit the space char before ttf-arphic-uming):

= " ttf-arphic-uming ttf-wqy-zenhei"

And use "bitbake core-image-sato" to generate a new .hddimg that will contain
the 2 fonts.

Or, just run "bitbake ttf-arphic-uming ttf-wqy-zenhei" and copy the generated
.rpm files(or .ipk depending the PACKAGE_CLASSES variable in your local.conf)
into your Yocto Linux that is already running and use "rpm -ivh
xxx.rpm" to install the packages. You may need to reboot to make the font
take effect.

BTW, the generated rpm files should be
inside tmp/deploy/rpm/all/, like



(If you use ipk, the files should be
inside tmp/deploy/ipk/all/. To install a .ipk package, use "opkg-cl
install xxx.ipk").

Thanks for ur wonder answer~~ and I would like to know which coding type is supported by yocto? Is 'UTF-8' ?

Thanks for your answer

I think in yocto linux, eglibc should support UTF-8.

Leave a Comment

Please sign in to add a comment. Not a member? Join today