Edit Area control in windows showing UTF 8 characters.

  • From: <Nick.Adamson@xxxxxxxxxxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>, <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 4 Aug 2010 12:16:12 +0100

Hi All.
 
I'm hoping someone will be able to stop me running round in circles.
I've got an application with an edit area control on a form which shows
the content of a log file. The log file contains Arabic characters. Now
I've got the correct language pack in windows installed I can see these
characters correctly, well the screen reader says they're Arabic
characters anyway in notepad so they are definitely there.
When I read the log file in to my application and look at the content of
the variable in the visual studio watch window I can see the correct
Arabic characters however when I look at the log in my application
window I'm getting nonsense. I guess I've missed a style some ware but
nothing I've changed seems to have a good effect.
 
Does anyone know what I need to do so that what I can see in notepad is
what is displayed in my application.
 
Any ideas gratefully received.
Thanks.
Nick.
 
 
Nick Adamson
Software Engineer
Advanced Projects and Technology     
 General Dynamics United Kingdom Limited
Bryn Brithdir, Oakdale Business Park, Blackwood, South Wales, NP12 4AA 
Telephone: +44 (0)1495 23 6467     
Email: Nick.Adamson@xxxxxxxxxxxxxxxxxxxxxx     
Website: www.generaldynamics.uk.com <http://www.generaldynamics.uk.com/>

To help reduce waste paper, please only print this email if you really
need to.

 

GIF image

Other related posts: