[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Read Unicode INI files

Posted on 2004-11-07
4
Medium Priority
?
1,000 Views
Last Modified: 2013-12-03
I have a unicode ini file, and GetPrivateProfileStringW() does not recognize all the special characters in it. Is there a solution to this, except fror reading myself manually the ini file ?

Thanks.
0
Comment
Question by:WxW
1 Comment
 
LVL 16

Accepted Solution

by:
nonubik earned 500 total points
ID: 12521861
GetPrivateProfileStringW() is the unicode version of GetPrivateProfileString() (for compatibility purposes, I guess). This means it accepts unicode strings as params. BUT, unfortunatelly, this does not mean it will attempt to read an unicode ini file (as I discovered WritePrivateProfileStringW does not write an unicode text in ini).
So, you'll have to do it manually.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question