Oh NO!, Asian Language is not supported

new BookmarkLockedFalling
sundale
New Member
*

sundale Avatar

Posts: 34

Post by sundale on Jan 14, 2010 3:40:53 GMT -5

I wan to generate html file, so I write to output file. But, again, I cannot write Asian character.
Error message read as follow:

Runtime Error in program 'invoiceEdit': print #outfile, text$
UnsupportedCharacterError

The data contains Korean character in UTF8 code: COKE, 24 x 325ml(LOCAL) (콜 라)

What should I do to generate html file containing Asian Language character?
Is there any command that I can write directly to file, other than print command?

Actually, print statement can display Asian Characters. But, why not in file IO?


code desc count unit price
A01 COKE, 24 x 325ml(LOCAL) (콜 라) 10 CTN
A02 7-UP, 24 x 325ml (사이다) 5 CTN 12.80
A03 F & N ORANGE (에프엔환타) 10 CTN
i7Q720/win7/ RB v1.0.1 Build 2.44
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
sundale
New Member
*

sundale Avatar

Posts: 34

i7Q720/win7/ RB v1.0.1 Build 2.44
windows
New Member
*

windows Avatar

Posts: 1

Post by windows on Nov 4, 2012 16:03:58 GMT -5

StefanPendl Avatar
Use CHR$() and the ASCII codes of the characters generating the encoded Korean characters.


ASCII only supports the alphabet and other latin characters. So I guess there is no work around at all with run basic functions. Maybe something can be done with html and raw data.
jimmu
New Member
*

jimmu Avatar

Posts: 2

Post by jimmu on Nov 9, 2012 21:39:53 GMT -5

Is there any way to set the code page on the Run BASIC web server? Isn't the default usually latin which doesn't support much beyond ASCII?
devlibrary.businessobjects.com/BusinessObjectsxi/en/en/RAS_SDK/rassdk_com_doc/doc/rassdk_com_doc/BestPractices11.html
Has some info on some code page problems. I'm not sure if it applies, but it might start you in the right direction....