shlomikalfa Posted April 28, 2008 Share Posted April 28, 2008 Unicode vs UTF8, are these the same ?! well, i've just opened .txt file in my comp and wrote something in 3 languages [eng/heb/rus] then i saved it... re'opened it and it looked fine... then i've clicked on save as... and i've found that it's being saved as a "Unicode" encoded text file... i've thought hey... what about UTF8, isn't that unicode ?! then i've choosen UTF8, bang the entire text was scrambled.... now i wander.... WHAT"S THE DIFFERENCE ?! P.S> what is better for me to hold in my "MySQL" DB ?! should i use UTF8 or Unicode data ?! -> i do plan on holding data in all languages viable... Link to comment https://forums.phpfreaks.com/topic/103255-solved-unicode-vs-utf8-are-these-the-same-bah/ Share on other sites More sharing options...
effigy Posted April 28, 2008 Share Posted April 28, 2008 UTF-8 is an encoding for Unicode; it stands for Unicode Transformation Format. Your editor may have been saving the file in a different UTF, UTF-16 for instance. I recommend keeping everything UTF-8. Link to comment https://forums.phpfreaks.com/topic/103255-solved-unicode-vs-utf8-are-these-the-same-bah/#findComment-528846 Share on other sites More sharing options...
shlomikalfa Posted April 28, 2008 Author Share Posted April 28, 2008 Once again, thanks for u'r reply! i will keep everything in UTF8 as u've mentioned, i guess the issue is with my software... Link to comment https://forums.phpfreaks.com/topic/103255-solved-unicode-vs-utf8-are-these-the-same-bah/#findComment-528856 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.