Can't print =?utf-8?q?=CE=A9_in_bold_in_GTK_labels?=
- From: Anoop <anoop_gecb yahoo co in>
- To: gtk-app-devel-list gnome org
- Subject: Can't print Î in bold in GTK labels
- Date: Thu, 02 Feb 2006 18:33:08 +0530
Hello,
I am writing a program that prints the resistance value in bold red
colour. Please see the following snippet:
final_result = g_markup_printf_escaped("<span foreground=\"red\"
weight=\"bold\" size=\"xx-large\"> %sÂ%.2f </span>",result,tolerance);
gtk_label_set_markup(GTK_LABEL(label_Output),final_result);
where the variable "result" will contain something like 20KÎ and
tolerance will contain something like 0.25%. What I intend, is to print
"20KÎÂ0.25%" in bold red.
But the problem is only 20K appears in bold and the remaining is not.
The problem vanishes once i decide to use the word "Ohms" instead of
symbol "Î". Why is this so? Am I doing something wrong? How can I print
Î in bold?
Send instant messages to your online friends http://in.messenger.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]