Hi CubicDesign,
> I have problems reading/writing INI and TXT files under the 'Application
> Data' folder when the user's account name contains UNICODE characters:
Under Windows Vista, but not under - say - Windows XP, right?
What are the problems exactly? Do you get access violations, or just
empty data when reading back from the .ini files? Or is it related to
permission issues?
Does it only happen with Delphi applications? (I realise that this must
be a report from a client, on a machine where you do not have access to,
but the answers might help to find out the nature of the problem).
> How can I create a user account (under Win XP or Vista) that contains
> these UNICODE characters - for testing purposes? I don't have a
> Chinese/Russian keyboard (whatever this means).
The first step is to install the relevant language packs of Windows (I
did that some time ago for Japanese, Simplified Chinese and Russian).
You can verify if this has worked by searching the internet for some
chinese or russian text, which will not display correctly without these
components installed.
This also means you can now read e-mail messages with those UNICODE
characters (at least I can), so you can then as your clients to send
some example user account strings (or copy some random text from the
internet pages that you found to verify that you can display UNICODE
characters in the first place).
> My language (Romanian) has some non-english characters, but all of them
> are available in the standard ASCI set. So I never used UNICODE until now.
I have some Chinese words that you could use in your tests...
[Chinese Simplified]
Europe=欧洲
Software=软件
Internet=互联网
(I hope I got these right, but at least they're UNICODE characters ;-))
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
Blog: http://www.drbob42.com/blog - RSS: http://drbob42.com/weblog.xml
Delphi 2006 Courseware PDF manuals at http://www.eBob42.com/courseware
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi