Results 1 to 4 of 4

Thread: ช่วยหน่อยครับ ฐานข้อมูล ไม่เป็นภาษาไทย

  1. #1
    man_sss
    Guest


    ช่วยหน่อยครับ ฐานข้อมูล ไม่เป็นภาษาไทย

    ???ผมมีปัญหาเรื่องการติดต่อฐานข้อมูล ผมติดต่อผ่านทาง JDBC ใช้ฐานข้อมูล mysql มีปัญหาคือข้อมูลไม่เป็นภาษาไทย ผมใช้ winxp แต่ใช้ win98 สามารถใช้ได้ตามปกติ ผมควรทำอย่างไรดีครับ

  2. #2
    Administrator asylu3's Avatar
    Join Date
    Jun 2000
    Location
    Thailand
    Posts
    3,557


    Re: ช่วยหน่อยครับ ฐานข้อมูล ไม่เป็นภาษาไทย

    ไม่ทราบว่าตอน insert ข้อมูลลงใน Table นั้น ข้อมูลสามารถพิมพ์เป็นภาษาไทยหรือเปล่าครับ
    ถ้าได้ แล้วตอนแสดงผล (query) ไม่สามารถแสดงผลภาษาไทยใช่หรือไม่ ถ้าใช่คาดว่าน่าจะมีปัญหาเกี่ยวกับการ set ค่า unicode ของ font นะครับ หรือไม่ก็อ่านจะเกี่ยวกับ font encoding ที่ควรจะเซ็ทเป็น tis-620 ยังไงช่วยอธิบายส่วนที่เกิดปัญหาเพิ่มเติมอีกนิดนึงนะครับ

  3. #3
    man_sss
    Guest


    Re: ช่วยหน่อยครับ ฐานข้อมูล ไม่เป็นภาษาไทย

    เวลาพิมพ์ภาษาไทยพิมพ์ได้ครับ แต่พอเปิดดูใน mysql ไม่เป็นภาษาไทย กลายเป็นตัว ????? แทน :-(

  4. #4
    Junior Member
    Join Date
    Jun 2003
    Location
    Thailand
    Posts
    13


    Re: ช่วยหน่อยครับ ฐานข้อมูล ไม่เป็นภาษาไทย

    insert one line into my.cnf as below

    [mysqld]
    default-character-set=utf8
    port= 3306

Similar Threads

  1. Replies: 9
    Last Post: 16-10-2007, 09:37 AM
  2. การสร้างประตูลับ (backdoor) ฐานข้อมูล Oracle
    By tonynuc in forum Hacking, Exploit Articles/Tutorial/Techniques
    Replies: 0
    Last Post: 28-08-2007, 06:30 PM
  3. Replies: 0
    Last Post: 05-07-2006, 12:32 PM
  4. Replies: 5
    Last Post: 09-04-2005, 12:57 AM
  5. ช่วยหน่อยครับ
    By hamesut in forum Symbian C++, J2ME, Brew,XHTML
    Replies: 0
    Last Post: 22-02-2005, 02:46 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •