Yes,but this requires making override visible in every file of the project.
On Mon, Jul 27, 2015 at 9:34 PM, Ruslan Nigmatullin <euroeles...@yandex.ru> wrote: > 27.07.2015, 11:01, "NIkolai Marchenko" <enmarantis...@gmail.com>: > > > Once we venture into the territory of debugging 50%+ non-latin, it will > be impossible to extract any useful information from debug output at a > glance. > > And that is the situation, where aforementioned flag to change the > behaviour in one place will be VERY useful. Unlike your suggestion of > fixing source code everywhere line by line. > And users genrally know if they need to consider the case you are arguing > about or not. > > > qDebug is just a macro so you may override it: > #define qDebug() qDebug() << unescape > > It's a bit more tricky if you use it as both function and output stream, > but it's still solvable by single header include. > > P.S. As a Russian speaker I prefer Thiago's solution, I've faced numerous > times with ambiguous output of qDebug and even 'a' vs 'а' problem (which > led to lots of text.toHex()) and I'm happy that it's finally solved. > > > > > On Mon, Jul 27, 2015 at 8:58 PM, NIkolai Marchenko < > enmarantis...@gmail.com> wrote: > > The problem with your approach to qDebug is that it only works well where > most of the text is in English and only individual letters are unicode. > Once we venture into the territory of debugging 50%+ non-latin, it will be > impossible to extract any useful information from debug output at a glance. > > 2015-07-27 20:25 GMT+03:00 Thiago Macieira <thiago.macie...@intel.com>: > > On Monday 27 July 2015 09:05:29 Thiago Macieira wrote: > > "а", which was the attack vector for homograph sites like pаypal.com or > > pаypаl.com or раураl.com or other permutations of the letters. A control > > Question: which of the three is the legit website? And what method did you > use > to find out? > > > > The following is an excerpt from the Japanese Wikipedia homepage just so > that > KMail will encode the email in Base64 instead of quoted-printable: > > 1988年10月に競走馬としてデビュー。翌1989年にアメリカ三冠のうち二冠(ケンタッキーダービー、プリークネスステークス)、さらにブリーダーズカップ・クラ > > シックを勝つなどG1を5勝する活躍を見せ、エクリプス賞年度代表馬に選ばれた。1990年に右前脚の靭帯を痛めて競走馬を引退。引退後は日本で種牡馬となり、初年度 > > 産駒がデビューした翌年の1995年から13年連続で日本のリーディングサイアーを獲得。さらに中央競馬における種牡馬にまつわる記録を次々と更新した。サンデーサイ > > レンスを起点とするサイアーラインは日本競馬界における一大勢力となり、サンデーサイレンス系とも呼ばれる。幼少期は見栄えのしない容貌ゆえに買い手がつかず、生命に > かかわる事態に見舞われながら競走馬、さらに種牡馬として成功した生涯は童話『みにくいアヒルの子』に例えられる。 > > > > > > > > > > > > > > > > PS: if you've answered that you opened in the web browser, please send me > your > credit card number so I can credit you for $5. You may also want to talk to > this prince who came into a fortune recently.... > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development > > , > > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development > > > > -- > Ruslan Nigmatullin > >
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development