Solved

Problem with LoadStr and chinese characters

Posted on 1998-05-27
1
193 Views
Last Modified: 2010-04-06
The function loadstr does not work with chinese charaters.  It returns garbage.
0
Comment
Question by:ymailhot
1 Comment
 
LVL 1

Accepted Solution

by:
ssite earned 70 total points
ID: 1348199
You probably have one of these :

1. You didn't compile the RC file with Double character resources turned on.
2. You're not using a widestring to store the result.
3. You're not using the right character set to display the text (font.charset of the tlabel for example)

Let me know if this helps.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 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