Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-05

0011231: FilelistBox shows Russian letters in file names wrongly

10 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrey Gusev

Question to Vincent Snijders:
Why you hasten to close #11231 issue, in fact the problem is not solved !?

On my localized XP SP2 box FileListBox works wrongly. That even without DisableWindowsUnicodeSupport using. Font.charset settings and font turning is helpless. As i understand it, r14961 solves this problem for English XP, but raises problem for localized version.
With a fpc 2.2.1 this problem solved by some way.
It mean that's r14961 is the temporary solution for 3.3.1 brunch ? Unicode support is not fully implemented under Windows ?

Reply by email

Vincent Snijders
to Andrey Gusev
Andrey Gusev wrote
Question to Vincent Snijders: Why you hasten to close #11231 issue, in fact the problem is not solved !?

It is closed, because it won't be fixed, not because it solved.

Show quoted text 9 lines
On my localized XP SP2 box FileListBox works wrongly. That even without DisableWindowsUnicodeSupport using. Font.charset settings and font turning is helpless. As i understand it, r14961 solves this problem for English XP, but raises problem for localized version. With a fpc 2.2.1 this problem solved by some way. It mean that's r14961 is the temporary solution for 3.3.1 brunch ? Unicode support is not fully implemented under Windows ?

It means that currently the FileListbox works only with fpc 2.2.1 and higher provided that you don't disable windows unicode support. All other situations are not supported. It is not fixed, but it doesn't work and I "won't fix" it.

If you use the fpc 2.2.1 or fpc 2.3.1 snapshot (without recompiling to disbale unicode support), is it broken too? If so, then you can reopen the issue.

Vincent

Reply by email

Andrey Gusev
to Vincent Snijders

* Vincent Snijders [Wed, 28 May 2008 16:07:28
+0200]:

If you use the fpc 2.2.1 or fpc 2.3.1 snapshot (without recompiling to disbale unicode support), is it broken too? If so, then you can reopen

the

issue.

Not, without DisableWindowsUnicodeSupport FileListBox shows russian rightly.
But, without DisableWindowsUnicodeSupport, the IDE editor works wrongly, that is the other problem...

Reply by email

Vincent Snijders
to Andrey Gusev
Andrey Gusev wrote 9 lines
* Vincent Snijders [Wed, 28 May 2008 16:07:28 +0200]: > If you use the fpc 2.2.1 or fpc 2.3.1 snapshot (without recompiling to > disbale unicode support), is it broken too? If so, then you can reopen the > issue. Not, without DisableWindowsUnicodeSupport FileListBox shows russian rightly.

OK.

But, without DisableWindowsUnicodeSupport, the IDE editor works wrongly, that is the other problem...

By "IDE editor works wrongly" you mean bug 11362, or something else?

Vincent

Reply by email

Graeme Geldenhuys
to Andrey Gusev: * Vincent Snijders [Wed, 28 May 2008 16:07:28 +0200]: the Not, without…
Andrey Gusev wrote 6 lines
Not, without DisableWindowsUnicodeSupport FileListBox shows russian rightly. But, without DisableWindowsUnicodeSupport, the IDE editor works wrongly, that is the other problem...

I'm not sure if this is a similar issue to what we had when we implemented Windows Unicode (utf-8) support in fpGUI Toolkit. fpGUI's FileListGrid also had issues with Russian filenames under Windows. The RTL's file access methods did not take into account the file system locale. We had to create wrapper methods to help out and it works fine now. Linux was not an issue because it uses UTF-8 at filesystem level.

Code can be found in the fpGUI's svn repository. See the URL below for more details.

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Andrey Gusev
to Vincent Snijders: OK. By "IDE editor works wrongly" you mean bug 11362, or something else? Vincent

It was "0011231: FilelistBox shows Russian letters in file names wrongly" thread previously.

* Vincent Snijders [Wed, 28 May 2008 22:43:32
+0200]:

Show quoted text 5 lines
> But, without DisableWindowsUnicodeSupport, the IDE editor works wrongly, > that is the other problem... By "IDE editor works wrongly" you mean bug 11362, or something else?

Not 11362.
After creation new application and put a few controls to form i got something indigestible, please see picture attached. -------------- next part --------------
A non-text attachment was scrubbed...
Name: Clipboard01.png
Type: image/png
Size: 2506 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080529/7541851d/attachment.png

Reply by email

Andrey Gusev
to Andrey Gusev

* Andrey Gusev [Thu, 29 May 2008 11:44:40 +0400]:

Show quoted text 11 lines
* Vincent Snijders [Wed, 28 May 2008 22:43:32 +0200]: > > But, without DisableWindowsUnicodeSupport, the IDE editor works > wrongly, > > that is the other problem... > > By "IDE editor works wrongly" you mean bug 11362, or something else? Not 11362. After creation new application and put a few controls to form i got something indigestible, please see picture attached.

DisableWindowsUnicodeSupport turnings not affects on bug 11362 appearance.

Reply by email

Vincent Snijders
to Andrey Gusev: It was "0011231: FilelistBox shows Russian letters in file names wrongly" thread…
Andrey Gusev wrote 14 lines
It was "0011231: FilelistBox shows Russian letters in file names wrongly" thread previously. * Vincent Snijders [Wed, 28 May 2008 22:43:32 +0200]: > > But, without DisableWindowsUnicodeSupport, the IDE editor works > wrongly, > > that is the other problem... > > By "IDE editor works wrongly" you mean bug 11362, or something else? Not 11362. After creation new application and put a few controls to form i got something indigestible, please see picture attached.

Do you get this error with a lazarus (not recompiled) executable straight from the fpc 2.2.1 snapshot?

Vincent

Reply by email

Andrey Gusev
to Vincent Snijders

* Vincent Snijders [Thu, 29 May 2008 10:21:57
+0200]:

Show quoted text 5 lines
Andrey Gusev schreef: > It was "0011231: FilelistBox shows Russian letters in file names > wrongly" thread previously. > > * Vincent Snijders [Wed, 28 May 2008

22:43:32

Show quoted text 6 lines
> +0200]: >> > But, without DisableWindowsUnicodeSupport, the IDE editor works >> wrongly, >> > that is the other problem... >> >> By "IDE editor works wrongly" you mean bug 11362, or something

else?

Show quoted text 8 lines
> > Not 11362. > After creation new application and put a few controls to form i got > something indigestible, please see picture attached. Do you get this error with a lazarus (not recompiled) executable straight from the fpc 2.2.1 snapshot?

Yes, gotten; lazarus 15273.

Reply by email

Vincent Snijders
to Andrey Gusev
Andrey Gusev wrote 22 lines
* Vincent Snijders [Thu, 29 May 2008 10:21:57 +0200]: > Andrey Gusev schreef: >> It was "0011231: FilelistBox shows Russian letters in file names >> wrongly" thread previously. >> >> * Vincent Snijders [Wed, 28 May 2008 22:43:32 >> +0200]: >>>> But, without DisableWindowsUnicodeSupport, the IDE editor works >>> wrongly, >>>> that is the other problem... >>> By "IDE editor works wrongly" you mean bug 11362, or something else? >> Not 11362. >> After creation new application and put a few controls to form i got >> something indigestible, please see picture attached. > Do you get this error with a lazarus (not recompiled) executable > straight from the > fpc 2.2.1 snapshot? Yes, gotten; lazarus 15273.

Please, submit a bug report.

I cannot reproduce it, maybe Paul can.

Vincent

Reply by email