Currency symbols in Qt
Article Metadata
A fairly common case of using special characters are currency symbols. The general advice is that you should not include these symbols in your code, as then your editor, compiler, platform and target device have to align up. Usually the suggestion is to use the tr() translation mechanism, but for a simple task like currency symbol there is a simpler solution. Here is an example using an EUR sign in a QLabel:
This way the encoding of the source files is irrelevant, as Qt's QString will interpret the utf characters, not the editor or platform.

