jQuery UI Widgets Forums Grid Exporting CSV file that containing 2 bytes Characters

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 9 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • tsuat097
    Participant

    Greetings.

    I try to export csv file from grid that contains 2 bytes characters.
    I have set 8th parameter of jqxgrid to “shift-jis”.
    But the actual created csv file is encored with “utf8”

    Would anyone guide me to solve this problem please.

    Ta.

    By the way, following is my code.

    	//出力ボタンがクリックされたら実行する処理
    			$("#csvEexport").on('click',function(){
    					$("#jqxgrid").jqxGrid('exportdata','csv','Data.csv',true,null,true,'',"shift-jis");
    			});
    		

    ivailo
    Participant

    Hi Ta,

    You probably submit your information to the default save-file.php. So it returns on default result in “utf8”.
    Buying license you receive also this file, and you can modify it to return result in different encoding types.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.