Home » Developing U++ » U++ Developers corner » The plan....
Re: The plan.... [message #18541 is a reply to message #18537] |
Tue, 07 October 2008 13:13 |
|
koldo
Messages: 3361 Registered: August 2008
|
Senior Veteran |
|
|
Hello luzr
Sorry, I thought that to comply with UTF8 it was necessary to use WString.
In some minutes I am going to report an error in FileSel.cpp related with this, really confirming it:
The struct FileIconMaker has a member declared String file. If the file name has non english characters the function virtual Image Make() does not work.
To solve it I simply change this in FileSel.cpp:
for(int i = 0; i < 2; i++) {
SHFILEINFO info;
SHGetFileInfo(file, dir ? FILE_ATTRIBUTE_DIRECTORY : FILE_ATTRIBUTE_NORMAL, &info, sizeof(info),
with this;
WString wfile = file.ToWString();
for(int i = 0; i < 2; i++) {
SHFILEINFOW info;
SHGetFileInfo(wfile, dir ? FILE_ATTRIBUTE_DIRECTORY : FILE_ATTRIBUTE_NORMAL, &info, sizeof(info),
and it works.
It is not a problem with String type. It is just that we have to check our code with international samples!.
Best regards
Koldo
Best regards
IƱaki
|
|
|
|
|
The plan....
By: mirek on Sun, 24 August 2008 18:56
|
|
|
Re: The plan....
By: unodgs on Sun, 24 August 2008 19:57
|
|
|
Re: The plan....
By: chickenk on Mon, 25 August 2008 11:18
|
|
|
Re: The plan....
By: mirek on Mon, 25 August 2008 11:39
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: captainc on Mon, 25 August 2008 18:45
|
|
|
Re: The plan....
By: unodgs on Mon, 25 August 2008 20:08
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: mirek on Tue, 26 August 2008 09:09
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: amrein on Wed, 27 August 2008 21:33
|
|
|
Re: The plan....
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 00:08
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 05:21
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 09:02
|
|
|
Re: The plan....
By: kov_serg on Thu, 28 August 2008 09:23
|
|
|
Re: The plan....
By: unodgs on Thu, 28 August 2008 09:56
|
|
|
Re: The plan....
By: zsolt on Thu, 28 August 2008 14:21
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 14:46
|
|
|
Re: The plan....
By: zsolt on Thu, 28 August 2008 15:54
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 17:14
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 11:16
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 20:12
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 20:19
|
|
|
Re: The plan....
By: amrein on Fri, 29 August 2008 22:06
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 22:38
|
|
|
Re: The plan....
By: mr_ped on Thu, 28 August 2008 12:51
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 15:31
|
|
|
Re: The plan....
By: mr_ped on Thu, 28 August 2008 17:11
|
|
|
Re: The plan....
By: amrein on Thu, 28 August 2008 19:15
|
|
|
Re: The plan....
By: captainc on Thu, 28 August 2008 20:07
|
|
|
Re: The plan....
By: mirek on Thu, 28 August 2008 21:34
|
|
|
Re: The plan....
By: mirek on Fri, 29 August 2008 13:49
|
|
|
Re: The plan....
By: unodgs on Fri, 29 August 2008 14:05
|
|
|
Re: The plan....
By: amrein on Fri, 29 August 2008 23:57
|
|
|
Re: The plan....
By: cocob on Sat, 30 August 2008 12:31
|
|
|
Re: The plan....
By: Oblivion on Mon, 06 October 2008 20:50
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 08:20
|
|
|
Re: The plan....
By: mirek on Tue, 07 October 2008 11:07
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 11:59
|
|
|
Re: The plan....
By: mirek on Tue, 07 October 2008 12:32
|
|
|
Re: The plan....
By: koldo on Tue, 07 October 2008 13:13
|
|
|
Re: The plan....
|
Goto Forum:
Current Time: Thu May 09 04:03:06 CEST 2024
Total time taken to generate the page: 0.02111 seconds
|