From: Sergey V Turchin <zerg@altlinux.org> To: ALT Devel discussion list <devel@altlinux.ru> Subject: Re: [devel] I: vim7 Date: Wed, 13 Apr 2005 21:35:48 +0400 Message-ID: <200504132135.51265.zerg@altlinux.org> (raw) In-Reply-To: <20050324115311.GO30360@immo.ru> [-- Attachment #1: Type: text/plain, Size: 932 bytes --] В сообщении от Четверг 24 Март 2005 14:53 Alexey I. Froloff написал(a): > * Sergey V Turchin <zerg@> [050324 14:42]: > > > В KDE я имел глюки с русским языком в меню. > > > > Как в Сизиф соберешься, напомни, гляну. > > В Сизиф соберусь только после релиза. Глянь так: > > vmw->menuBar()->insertItem(QSTR(menu->name), me, (long)me, idx); > > Где QSTR: > > #define QSTR(x) \ > (has_mbyte ? \ > (enc_utf8 ? \ > QString::fromUtf8((const char *)x) : \ > QString::fromLocal8Bit((const char *)x)) : \ > QString((const char *)x)) Я фигню тогда спорол, достаточно #define QSTR(x) QString::fromLocal8Bit((const char *)x) для всех случаев кроме того, когда кодировка сообщения не соответствует кодировке локали. > enc_utf8 - флажок на тему равен ли 'encoding' "urf-8". -- Regards, Sergey, ALT Linux Team, http://www.altlinux.ru http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08 [-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2005-04-13 17:35 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-03-23 20:57 Alexey I. Froloff 2005-03-24 14:46 ` Sergey V Turchin 2005-03-24 11:53 ` Alexey I. Froloff 2005-03-24 14:09 ` Sergey V Turchin 2005-03-24 14:16 ` Alexey I. Froloff 2005-03-24 17:29 ` Sergey V Turchin 2005-03-25 6:43 ` Alexey I. Froloff 2005-03-25 9:40 ` Sergey V Turchin 2005-03-25 9:55 ` Alexey I. Froloff 2005-03-25 10:19 ` Sergey V Turchin 2005-03-25 16:21 ` Sergey V Turchin 2005-05-14 7:01 ` Sergey Pinaev 2005-05-14 7:50 ` Anton Farygin 2005-04-13 17:35 ` Sergey V Turchin [this message] 2005-04-15 13:25 ` Sergey V Turchin 2005-04-15 14:32 ` Sergey V Turchin 2005-03-25 6:38 ` [devel] Re: [sisyphus] " Alexey I. Froloff 2005-03-25 10:09 ` Aleksandr Blokhin 2005-03-25 10:58 ` Alexey I. Froloff 2005-03-25 11:28 ` Aleksandr Blokhin 2005-03-25 11:48 ` Alexey I. Froloff 2005-03-25 12:04 ` Aleksandr Blokhin 2005-03-25 12:14 ` Yuri N. Sedunov 2005-03-25 12:34 ` [devel] [POLICY] man-pages-$lang (was: I: vim7) Michael Shigorin 2005-03-26 10:40 ` [devel] Re: [sisyphus] I: vim7 Alexey I. Froloff 2005-03-26 19:37 ` Aleksandr Blokhin 2005-03-27 21:48 ` Alexey I. Froloff 2005-03-28 6:54 ` Aleksandr Blokhin 2005-03-28 7:02 ` Alexey I. Froloff
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200504132135.51265.zerg@altlinux.org \ --to=zerg@altlinux.org \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git