KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

ListView UTF-8 error?

 
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion
View previous topic :: View next topic  
Author Message
masken
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 14 Mar 2003
Posts: 202
Location: Gothenburg, Sweden

PostPosted: Wed Apr 04, 2007 2:32 pm    Post subject: ListView UTF-8 error? Reply with quote

Don't know if this is a KiX, KiXforms.net or FileSystemObject issue.

Anyhow, I got this XML-file which I populate a listview with. The XML-file is in UTF-8 format.

When there's Swedish characters like å, ä, and ö, they're displayed wrong, like this:


It should be Sånger från Andra Våningen.

Probably also should mention that I use the Scripting.FileSystemObject.OpenTextFile.ReadAll method to read the XML.

Where does it go wrong?

If I activate console output, the chars are also screwed there. So perhaps it's KiX that doesn't handle UTF-8?

EDIT
Danged, seems like the first stop is the FileSystemObject:
http://www.thescripts.com/forum/thread573458.html

Case closed, will post about this on KORG instead.
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Apr 05, 2007 7:36 am    Post subject: Reply with quote

Quote:
it's KiX that doesn't handle UTF-8?


That's true as well Rolling Eyes

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
masken
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 14 Mar 2003
Posts: 202
Location: Gothenburg, Sweden

PostPosted: Thu Apr 05, 2007 8:34 am    Post subject: Reply with quote

Well I got it working when the FileSystemObject was excluded, so KiX and KiXforms.Net must have some form of support for it I guess?
Back to top
View user's profile Send private message MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Apr 05, 2007 9:29 am    Post subject: Reply with quote

Oh, so then this has changed since Kixforms 2.x Very Happy
_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group