special unicode characters in XAML |
Post Reply |
Author | |
ElvisM
Senior Member Joined: 12 October 2006 Location: Venezuela Status: Offline Points: 129 |
Post Options
Thanks(0)
Posted: 13 July 2016 at 7:23pm |
Another thing...
Iam working with accent letters (Á, á, Ë, e, Ñ, ñ, etc) but markip fails if you use this special characters... I read some post, and I saw that for special characters as "&", "<", ">", "/", etc, you can solve it using escape words as &, &it, >, etc... However if you try to use the escape words for accents, they dont work, markup fails... Is there either a solution or tip for this behavior? Best regards,
|
|
Product: Xtreme SuitePro (ActiveX) version 17.2
Platform: Windows 10 64bits Language: Visual Basic 2015 |
|
olebed
Admin Group Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
Post Options
Thanks(0)
|
Hello ElvisM,
I think you forgot something from declarations in XAML, see our sample c:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v17.2.0\Samples\Common\VB\MarkupSample\frmMain.frm See using MarkupLabel1.
Regards, Oleksandr Lebed |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Make sure you are using the Unicode version of the control, and then just use the actual characters "Á, á, é, É, Ñ, ñ" or Chr$W() control codes.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
leandro@tecware.com.
Newbie Joined: 05 July 2017 Location: Brasil Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Hello. I am building a report using MARKUP LABEL and PRINT PREVIEW for printing. The Portuguese language is full of accents. When I use accents, MARKUP works correctly, but when sending to PRINT PREVIEW printing does not work because PRINT PREVIEW does not carry accents. To solve I had to build the MARKUP string in UTF-8 and use UTF-8 in PRINT PREVIEW and ANSI in MARKUP. I believe this is not the best practice. Looking at the MARKUP PAD (EXE) I realized that I can write an ANSI XAML and that the print works correctly. I also noticed that the PRINT PREVIEW menu is disabled initially, but after some time it enables. This gave me the impression that there is some kind of ANSI CONVERTER for UTF-8 to allow PRINT PREVIEW to work correctly. I also noticed that the MARKUP PAD (VBP - Visual Basic 6) does not have the same behavior, forcing me to write in UTF-8 and then convert to ANSI as mentioned initially. The question is: How can MARKUP PAD (exe) be able to receive ANSI text and print correctly? Does it convert from ANSI to UTF-8? How can we do this conversion?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |