Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » misalligned special characters
misalligned special characters [message #4785] Tue, 22 August 2006 11:24 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

the holiday is finished and the work already started.
I've a problem with Italian accented characters. I mean, they look OK, but semms that a blank space is eat at their right. Please have a look to the screenshot below taken from a LineEdit.
index.php?t=getfile&id=220&private=0

As you see, the item 1 BRUNELLO, because of the 'ò' is misalligned in the next columns. The same occur with special German characters, some user said.

Then I've another example in CtrlArray:
index.php?t=getfile&id=221&private=0

This is where I set the language and charset:
void  ReadConfigFile()
{ VectorMap<String, String> cfg = LoadIniFile("./vega.cfg");
  String recentdir = cfg.Get("RECENTDIR", Null);
  String language  = cfg.Get("LANGUAGE", Null);
  String pathDB  = cfg.Get("PATHDB", Null);
  TD.PATHDIR = recentdir;
  TD.LANGUAGE = language;
  TD.PATHDIRDB = pathDB;
  SetDefaultCharset(CHARSET_UTF8);
  if      ( language == "IT-IT" ) SetLanguage( LNG_('I','T','I','T') );
  else if ( language == "DE-DE" ) SetLanguage( LNG_('D','E','D','E') );
  else if ( language == "FR-FR" ) SetLanguage( LNG_('F','R','F','R') );
  else if ( language == "ES-ES" ) SetLanguage( LNG_('E','S','E','S') );
  else if ( language == "PT-PT" ) SetLanguage( LNG_('P','T','P','T') );
  else if ( language == "RU-RU" ) SetLanguage( LNG_('R','U','R','U') );
  else if ( language == "PT-PT" ) SetLanguage( LNG_('p','T','P','T') );
  else SetLanguage( LNG_('E','N','U','S') );   // default English
}

Any suggestion? (using 607-dev1)

Luigi
  • Attachment: ss_12.jpg
    (Size: 11.82KB, Downloaded 2734 times)
  • Attachment: ss_13.jpg
    (Size: 18.51KB, Downloaded 2824 times)

[Updated on: Tue, 22 August 2006 11:26]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: TheIDE fie choser dialog can't recongize Chinese
Next Topic: CJK support
Goto Forum:
  


Current Time: Fri Apr 19 16:57:31 CEST 2024

Total time taken to generate the page: 0.04377 seconds