Changes between Initial Version and Version 5 of Ticket #488


Ignore:
Timestamp:
2010/01/22 16:28:27 (16 years ago)
Author:
nanasess
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #488

    • Property Owner changed from somebody to nanasess
    • Property Status changed from new to assigned
    • Property Milestone changed from EC-CUBE2.4.1 to EC-CUBE2.4.2
  • Ticket #488 – Description

    initial v5  
    55(※POSTされる値によってエラーとなる場合がある) 
    66 
     7{{{ 
    78[nativecode=ERROR:  invalid byte sequence for encoding "EUC_JP": 0x8250 
    89HINT:  This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".] 
     10}}} 
    911 
    10 [解決策] 
     12=== 解決策 === 
    1113// 検索語がUTF-8じゃなかったら、強制的にUTF-8にする 
     14{{{ 
    1215$encode = mb_detect_encoding($_POST['name']); 
    1316if( CHAR_CODE != $encode ){ 
    1417    $name = mb_convert_encoding($_POST['name'], "UTF-8", "auto"); 
    1518} 
     19}}}