Greek characters can not be displayed

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
georgiouk
Posts: 47
Joined: 02.05.2005
With us: 19 years 6 months
Location: Greece

Greek characters can not be displayed

Post #1by georgiouk » 22.11.2005, 16:16

Hi!
I am trying to translate Celestia (from english to greek).
I have managed to translate the menu by writting with these
commands to the .rc file :

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ELL)
#ifdef _WIN32
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
#pragma code_page(1253)
#endif //_WIN32


However,while the program is running in the window appear
some parameters for instance speed that I want to
be dispayed in greek and not in english.
For this reason I have substituted speed
(using the advice from maxim)
(and other words which appear in english)
with variables like LNG_TEXT_CORE_SPEED
in the place of the word speed.
Then I have put in the textresource.h (which Maxim made )
the below for the word speed

#define LNG_TEXT_CORE_SPEED "?¤?±?‡?

Return to “Development”