The Dink Network

Question about Dink Smallwood French

August 5th 2008, 09:52 AM
maiden.gif
nawal
Peasant She/Her Egypt
 
Hey guys how do i get the dinkC to accept foreign characters like japanese for instance?
August 5th 2008, 10:04 AM
fairy.gif
Someone
Peasant He/Him Australia
 
Use initfont() to change to a font which has the characters you want (e.g. a Japanese font)
August 5th 2008, 12:26 PM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
Dude, a lot of the normal fonts (like Arial) have Japanese characters included by now. I think the question should rather be: does Dink Smallwood even accept Unicode characters?

EDIT: it's just an idea, but try running your Dink and your Dmod containing non-ASCII characters through Microsoft's AppLocale.
August 5th 2008, 12:49 PM
farmer.gif
Beuc
Peasant He/Him France
 
To my knowledge Dink expects scripts in ASCII/Latin-1.
(/me plans in the long run to add unicode support in FreeDink with a different file extension )
August 7th 2008, 05:43 AM
maiden.gif
nawal
Peasant She/Her Egypt
 
And what is AppLocale??
August 7th 2008, 10:48 AM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
All I know is that you can output dialog that uses non-standard ASCII characters, but that they will not compile into .d files if you use them.
August 8th 2008, 06:18 AM
slimeb.gif
DaVince
Peasant He/Him Netherlands
Olde Time Dinkere 
It can run programs and pass on different country/language data than the system you're running on, so basically it emulates as if it was run under a French, or Chinese, or whatever system. There's some difference in how character sets and things like ASCII/Unicode are used on systems of different languages.

...I don't think you need it for French after all though. The standard ASCII character set should contain ALL French characters you need, on second thought.
August 12th 2008, 08:01 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Standard ASCII is only characters 0 to 127, which does not contain the characters with accents. Extended ASCII has characters with accents, but won't compile to .d, as it does other things with characters 128 and up.