If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > How to store vietnamese character in mysql?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-21-06, 03:43
benben benben is offline
Registered User
 
Join Date: Sep 2006
Posts: 1
hello World
Reply With Quote
  #2 (permalink)  
Old 09-22-06, 07:39
anjanesh anjanesh is offline
Registered User
 
Join Date: Feb 2005
Location: Mumbai, India
Posts: 161
Use each character's HTMLEntities equivalent if you cant store Unicodes
Code:
chào anh giới
is
chào anh giới
PHP Code:
<body>
        <
input type="text" id="vit" value="chào anh giới" /><br/>
        <
script type="text/javascript">
        var 
vit document.getElementById("vit").value;        
        for (var 
0vit.lengthi++)
         {
            
document.write('&amp;#' vit[i].charCodeAt(0) + ";");
         }        
        
</script>
</body> 
__________________
MySQL 5.1

Last edited by anjanesh; 09-22-06 at 07:46.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On