<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to print all Chinese char?]]></title><description><![CDATA[<p dir="auto">for(const ushort *u=0x4E00; u &lt;= 0x9FA5; u++){<br />
qDebug() &lt;&lt; QString::fromUtf16(u);<br />
}</p>
<p dir="auto">error: cannot initialize a variable of type 'const ushort *' (aka 'const unsigned short *') with an rvalue of type 'int'</p>
]]></description><link>https://forum.qt.io/topic/84208/how-to-print-all-chinese-char</link><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 15:41:49 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/84208.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Oct 2017 02:06:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to print all Chinese char? on Mon, 16 Oct 2017 04:36:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sonichy">@<bdi>sonichy</bdi></a> 1. Why do you declare u as pointer?<br />
2. Why do you declare u as const (you can't increment const)?</p>
<pre><code>for(ushort u=0x4E00; u &lt;= 0x9FA5; u++){
    qDebug() &lt;&lt; QString::fromUtf16(&amp;u);
}
</code></pre>
]]></description><link>https://forum.qt.io/post/420993</link><guid isPermaLink="true">https://forum.qt.io/post/420993</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Mon, 16 Oct 2017 04:36:43 GMT</pubDate></item></channel></rss>