<div id="result_box" dir="ltr">I will to try new snapshot version, however, whether there are other ways? <br> <br> According to PostgreSQL users told me that in the P client set transcoding, for example:SET CLIENT_ENCODING TO 'GBK' .<br>
The GBK is better able to show that the Chinese encoding, but, which position this SQL statement to add in ? I tried to add SQL attributes in TSQLQuery
components, such as: <br> <br><div style="margin-left: 40px;">set client_encoding to 'gbk'<br> Select * from xiang <br></div> <br> However, Lazarus report errors: <br> ------------------------------ <br> error: <br>
Operation cannot be performed on an active dataset <br> OK <br> ------------------------------ <br> <br> If I make the database active attribute to false, then it can no longer be a True.</div><br><br>--<br><div class="gmail_quote">
2008/5/29 Mattias Gaertner <<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would say UTF-8, but I didn't tried chinese. Did you try the current<br>
lazarus from svn or daily snapshot?<br>
<br>
<a href="http://wiki.lazarus.freepascal.org/LCL_Unicode_Support" target="_blank">http://wiki.lazarus.freepascal.org/LCL_Unicode_Support</a><font color="#888888"><br>
Mattias</font><br></blockquote></div><br>-- <br>我的'开源办公室':<br><a href="http://pengtu.net/ooo">http://pengtu.net/ooo</a>