www.sdlsuite.com Forum Index www.sdlsuite.com
Discussion of technical aspects of the SDL Component Suite
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TReprtListView and UTF-8/Unicode

 
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> GuiPack
View previous topic :: View next topic  
Author Message
rblum



Joined: 18 Sep 2006
Posts: 4

PostPosted: Sun Dec 11, 2011 2:02 pm    Post subject: TReprtListView and UTF-8/Unicode Reply with quote

Hallo,

TReportlistView shows some charakters as '?'. Probably this is because of the typecast from string to Shortstring when assigning Elem[ 1, 1 ] := 'somestring'.
Is there a way around it, or am I doing something wrong?

Regards
Back to top
View user's profile Send private message Send e-mail
hlohning



Joined: 08 Sep 2006
Posts: 277
Location: Austria

PostPosted: Tue Dec 13, 2011 8:49 am    Post subject: Reply with quote

Which compiler do you use?

I did some tests both with Delphi 6 and Delphi XE2 (just to test the two extreme cases) - in some cases the characters showed up differently.

In particular, I simply put a TReportListView, TEdit and a TButton on a form. The character sequence in TEdit was transferred to the TReportListView in the OnClick event of the button.



I need some time to solve this, probably until Thursday evening. Which characters did not display correctly in your case?

Kind regards,

Hans
_________________
Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/
Back to top
View user's profile Send private message Visit poster's website
rblum



Joined: 18 Sep 2006
Posts: 4

PostPosted: Wed Apr 04, 2012 10:31 pm    Post subject: Reply with quote

Hallo Hans,
sorry that my reply comes so late. The subject is still an issue for me.

hlohning wrote:
Which compiler do you use?
Which characters did not display correctly in your case?


I use D 2009.
all characters are standart characters with the addition of a dash on top or a dot underneath or with a tilde
for example capital A with dash on top: Ᾱ
small a with dash ontop: ā
n with tilde:
capital S with risiing dash: Ś

I hope this helps. If necessary I can send you a small programm which copies all the letters to the clipboard. They are use for Sankrit texts in transliteration.

Kind regards
Rolf
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> GuiPack All times are GMT + 1 Hour
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


Powered by phpBB © 2001, 2005 phpBB Group