winefile: TRY2 Fix for encoding Ru.rc

Yuri Kozlov kozlov.y at gmail.com
Fri Aug 19 23:56:49 CDT 2005


2005/8/19, Dmitry Timoshkov <dmitry at baikal.ru>:
> "Yuri Kozlov" <kozlov.y at gmail.com> wrote:
> 
> > Changelog:
> >  fix for encoding Ru.rc
> 
> > --- wine/programs/winefile/Ru.rc 2005-06-20 15:45:39.000000000 +0400
> > +++ bwine/programs/winefile/Ru.rc 2005-08-18 19:56:37.000000000 +0400
> > @@ -20,6 +20,8 @@
> >
> >  LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
> >
> > +#pragma code_page(1251)
> 
> Why do you need it? Specifying a language should be enough, at least
> it works for all other resource files, including russian ones.

First, De.rc have #pragma too. :)

Second, on my machine (debian, UTF-8 locale) winefile compiled with
options UNICODE

yuray at keeper:/host/p3/b/bwine/programs/winefile$ make install
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH"
../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include
  -D__WINE__ -DUNICODE  -forsrc.res rsrc.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -mwindows
license.o splitpath.o winefile.o  winefile.exe.dbg.o rsrc.res -o
winefile.exe.so -L../../dlls -L../../dlls/shell32
-L../../dlls/comdlg32 -L../../dlls/comctl32 -L../../dlls/ole32
-L../../dlls/mpr -L../../dlls/version -L../../dlls/user32
-L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32
-lshell32 -lcomdlg32 -lcomctl32 -lole32 -lmpr -lversion -luser32
-lgdi32 -ladvapi32 -lkernel32 -L../../libs/wine -lwine -luuid
-L../../libs/port -lwine_port
../../tools/mkinstalldirs -m 755 /host/p3/a/wine/lib/wine
/usr/bin/install -c   winefile.exe.so /host/p3/a/wine/lib/wine/winefile.exe.so

and without #pragma option I have broken menu in winefile.
Other wine programs is OK.

May I post screenshot in the list ? (Dmitry, I sent it to you privatly.)

-- 
Regards,
Yuri Kozlov




More information about the wine-devel mailing list