utftest4.hsp

sample\hsp3utf\utftest4.hsp » Plain Format

#include "hsp3utf.as"

	;
	;	ANSI(SJIS)で書かれているスクリプトを
	;	UTF-8のランタイムで読み込んでいます
	;
	objsize 100,25
	pos 0,0:button "END",*bye

	notesel ansitext
	noteload "utftest4.hsp"

	sdim utftext, $10000
	utftext = cnvatos(ansitext)

	pos 0,30
	mesbox utftext,640,450

	stop

*bye
	end