Remember me

Lost Password?

Register now!
Who's Online
10 user(s) are online (3 user(s) are browsing Forums)

Members: 0
Guests: 10

Support us!
Recent OS4 Files
Report message:*

Re: wish list

Subject: Re: wish list
by Chris on 2013/8/16 18:41:35


alfkil wrote:
Also there is the issue of copy-pasting from AmigaOS to Qt and how each interprets ascii values. I have no idea how to deal with that...

diskfont.library has a function that tells you what the system default charset is. You can supply that as an argument to iconv(), and whatever charset Qt is in as the other.

Additionally, clipboard text can contain the following chunks:
CSET: specifies which charset the CHRS chunks are in.
UTF8: contains UTF-8 text, any program supporting this should ignore the CHRS chunks.

The de-facto standard seems to be to put local charset text into CHRS, and UTF-8 into UTF-8, and don't bother setting CSET (although you might want to check for it when reading the clipboard, just in case)

Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project