<div>besaraha.. ana mesh merakeza khals..bas i'll tell you what i did..</div>
<div>I think there is a default values for the charset.. which is the key point here..</div>
<div>when u use insert statement into a table with arabic data.. and u did not adjust the encoding of the table u already define.. the data will be rabish not save properly.. that's the problem i faced at the time i sent that email..
</div>
<div>all u have to do is to define a table taking into consideration the charset.. bas da men nahya..</div>
<div>another thing.. when u display that data.. am talking from Jsp side or java desktop application side.. you also should take into consideration the charset to be UTF-8 or any other arabic encodings bas maybe it won't work properly on other enviroments.. 3shan keda utf-8..
</div>
<div>&nbsp;</div>
<div>ana mesh merakeza kalas... <br>&nbsp;</div>
<div><span class="gmail_quote">On 9/9/05, <b class="gmail_sendername">Munzir Taha</b> &lt;<a href="mailto:munzirtaha@gmail.com">munzirtaha@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>في يوم السّبت 29 رجب 1426 10:19, كتب Mohammad Ghoniem:
<br>&gt; Maha Helwa wrote:<br>&gt; &gt; Ghoniem.. don't u know about that Arabic issue in the db.. how to<br>&gt; &gt; insert them with the right encoding and how to read them properly?<br>&gt;<br>&gt; As far as I know, the db needs to be in UTF-8 to handle Arabic
<br>&gt; correctly. Try creating your db in UTF-8 from the beginning i.e. do not<br>&gt; alter the tables to be in UTF-8 afterwards. I will be doing some tests<br>&gt; in shâ'a Allâh.<br><br>Ghoneim and all, can you clarify this point please?
<br>1. Why creating db in UTF-8 from the beginning is different than altering it<br>to be UTF-8 afterwards?<br>2. I just imported some arabic UTF-8 database sql file to mysql and the php<br>script displays them properly (with encoding cp1256). mysql status command
<br>shows<br>Server characterset:&nbsp;&nbsp;&nbsp;&nbsp;latin1<br>Db&nbsp;&nbsp;&nbsp;&nbsp; characterset:&nbsp;&nbsp;&nbsp;&nbsp;latin1<br>Client characterset:&nbsp;&nbsp;&nbsp;&nbsp;latin1<br>Conn.&nbsp;&nbsp;characterset:&nbsp;&nbsp;&nbsp;&nbsp;latin1<br>how come latin1 and still it works is beyond my knowledge. When should I care
<br>to chnage these defaults then and why? I am not experienced enough here so<br>please keep it simple ;)<br><br>- --<br>Munzir Taha<br>Telecommunications and Electronics Engineer<br>Maintainer of Fedora Arabic Translation Project
<br><a href="https://listman.redhat.com/mailman/listinfo/fedora-trans-ar">https://listman.redhat.com/mailman/listinfo/fedora-trans-ar</a><br>Maintainer of the OpenBugs project page at<br><a href="http://www.arabic-fedora.org/munzir/OpenBugs.html">
http://www.arabic-fedora.org/munzir/OpenBugs.html</a><br>Master CIW Designer, ICDL, MOUS, Linux+, LPI 101<br>New Horizons CLC, Riyadh, SA<br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.0 (GNU/Linux)<br><br>iD8DBQFDIbomOBlicvBnGCERAjCqAKCAyC/dL5etUmVnlchyz4PRxBlVeACfRPwY
<br>CJN+xwy+O5PgjIzEd4aNPKA=<br>=o55V<br>-----END PGP SIGNATURE-----<br><br>--<br>Fedora-trans-ar mailing list<br><a href="mailto:Fedora-trans-ar@redhat.com">Fedora-trans-ar@redhat.com</a><br><a href="http://www.redhat.com/mailman/listinfo/fedora-trans-ar">
http://www.redhat.com/mailman/listinfo/fedora-trans-ar</a><br></blockquote></div><br>