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 #48553 is a reply to message #48551] Fri, 21 July 2017 14:44 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1212
Registered: August 2007
Senior Contributor
Hello rafiwui,

I don't see antyhing wrong with the code or U++.

Quote:
]But it only works when I have my language set to czech and that is not what I want to achieve.


As you know, U++ *.t files are meant be used for localization. But you don't really need use the English versions of the strings as default (or at all).

if in the *.cpp file you can simpyl write:

app.Title(t_("přihláška"));


This will make it the default string (the string to be localized, if needed.).

Also you don't need to call:

SetDefaultCharset(CHARSET_UTF8);


UTF8 is/should be enabled by default. This function is to support legacy applications.

Best regards,
Oblivion


[Updated on: Fri, 21 July 2017 14:54]

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: Sun Jun 22 00:03:37 CEST 2025

Total time taken to generate the page: 0.03787 seconds