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 » CHARSET_UTF8 not working?
Re: CHARSET_UTF8 not working? [message #48556 is a reply to message #48555] Fri, 21 July 2017 17:12 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1212
Registered: August 2007
Senior Contributor
Quote:

1. I learned that it is no good programming style to put non-ASCII letters in pure source code.


Fair point. But not necessarily true. But that's another story... Smile

Quote:

2. But I want a multinational application, so I need different language support and I don't know how to achieve this in this way.



I've attached a simple example which changes the app title, and static text to English, Czech, and Turkish, using a droplist. Maybe it'll give you an idea.


Quote:
But why? Why doesn't it take the string correctly from the .t file but from the source code?



It does. But *.t files are AFAIK component/application-wide, and applied on initialization (not sure about the latter though). It'll pick up the Czech version of the strings only when the language is set to Czech (or the default strings are in Czech).




[Updated on: Fri, 21 July 2017 17:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Theide (feature): closing openend files when changing package
Next Topic: Custom Build Steps to generate .cpp files and then compile
Goto Forum:
  


Current Time: Sat Jun 21 23:53:34 CEST 2025

Total time taken to generate the page: 0.04067 seconds