[Gambas-user] Italian special chars bug?

Stefano Palmeri stefanopalmeri at ...152...
Wed May 17 01:41:56 CEST 2006


Alle 20:16, sabato 13 maggio 2006, Benoit Minisini ha scritto:
> On Friday 12 May 2006 00:51, Stefano Palmeri wrote:
> > Hi, all. Hi, Benoit.
> >
> > After hours of wondering why in certain Gambas2 projects I was able to 
type
> > "à ù ì è ò é" and in some other I wasn't, I finally discovered the reason.
> >
> > If in a Gambas2 project I add the component "gb.qt.ext", then I'm not
> > able to type in the editor those Italian special chars (look at attached
> > bad.jpg) and I get instead funny chars.
> >
> > If I remove from the project properties the "gb.qt.ext" component and
> > restart Gambas2, then I'm able to see and type the special chars
> > (good.jpg).
> >
> > No problem with this component in the stable Gambas.
> >
> > To the Italians in the list: please, try to add the gb.qt.ext component to
> > a project, then restart Gambas2 and re-open the project: see if your are
> > able to type "à ò ù ì é è". (To know if this is a general problem or a
> > problem of mine - thanks).
> >
> > Gambas2 1.9.28
> > Qt 3.3.2
> > KDE 3.4.2
> >
> > Regards,
> >
> > Stefano Palmeri
> 
> Very strange...
> 
> 1) I couldn't reproduce the problem.
> 
> 2) If you add any component to a project, this won't change anything in the 
> IDE, so there is no reason why characters should change.
> 
> 3) Moreover, everything is stored in UTF-8, so please check that the 
contents 
> of your source files were not changed by something other.
> 
> Regards,
> 
> -- 
> Benoit Minisini
> 

Hi, Benoit. 
It seems very strange to me too. So I created a fresh untouched project.
In this project there's an empty form and a text file with the special chars
I can't correctly see. In the project properties I added the gb.qt.ext. 
After restarting Gambas2 and opening the fresh project as  the first project
to work on, I can't see the chars "à ò ù è é". This thing is making me go 
crazy, because is without sense.
Also, I think it's important, I noticed that if I start Gambas2 and I open
a project without gb.qt.ext and then, in the same Gambas2 session, I open
the fresh testing project I can see the chars!
I've attached the testing project... and I hope you could find the reason.

Qt 3.3.2
Gambas2-1.9.28
KDE 3.4.2 
Kernel 2.6.16.11

Also I've attached the output of set.

Thanks.

Regards,

Stefano Palmeri



  
  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: prova2.tar.gz
Type: application/x-tgz
Size: 496 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060517/39472e6d/attachment.bin>
-------------- next part --------------
BASH=/usr/bin/bash
BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i486-slackware-linux-gnu")
BASH_VERSION='2.05b.0(1)-release'
BROWSER=/opt/kde/bin/konqueror
COLORTERM=
COLUMNS=80
CPLUS_INCLUDE_PATH=/usr/lib/qt/include:/usr/lib/qt/include
DESKTOP_SESSION=default
DIRSTACK=()
DISPLAY=:0.0
DM_CONTROL=/var/run/xdmctl
EUID=1000
GDK_USE_XFT=1
GROUPS=()
GS_LIB=/home/stefano/.fonts
GTK2_RC_FILES=/home/stefano/.gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/stefano/.gtkrc:/home/stefano/.kde/share/config/gtkrc
HISTFILE=/home/stefano/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/stefano
HOSTNAME=macondo.localhost
HOSTTYPE=i486
IFS=$' \t\n'
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/lib/java
KDEDIR=/opt/kde
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KONSOLE_DCOP='DCOPRef(konsole-5965,konsole)'
KONSOLE_DCOP_SESSION='DCOPRef(konsole-5965,session-1)'
LANG=it_IT
LC_COLLATE=C
LESS=-M
LESSOPEN='|lesspipe.sh %s'
LINES=25
LOGNAME=stefano
LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.bat=01;32:*.BAT=01;32:*.btm=01;32:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.com=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*.EXE=01;32:*.arj=01;31:*.bz2=01;31:*.deb=01;31:*.gz=01;31:*.lzh=01;31:*.rpm=01;31:*.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.tz2=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:*.asf=01;35:*.ASF=01;35:*.avi=01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.flac=01;35:*.FLAC=01;35:*.gif=01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m2a=01;35:*.M2a=01;35:*.m2v=01;35:*.M2V=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MPG=01;35:*.ogg=01;35:*.OGG=01;35:*.ppm=01;35:*.rm=01;35:*.RM=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01;35:*.wav=01;35:*.WAV=01;35:*.wmv=01;35:*.WMV=01;35:*.xbm=01;35:*.xpm=01;35:'
LS_OPTIONS=' --color=auto -F -b -T 0'
MACHTYPE=i486-slackware-linux-gnu
MAILCHECK=60
MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib/java/man:/usr/lib/qt/doc/man
MINICOM='-c on'
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/sbin:/sbin:/usr/local/sbin:/opt/kde/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/home/stefano/bin
PIPESTATUS=([0]="0")
PKG_CONFIG_PATH=:/usr/local/lib/pkgconfig:/usr/local/lib/pkgconfig
PPID=5965
PS1='\u@\h:`basename "$(pwd)" | tr " " "_"`\$ '
PS2='> '
PS4='+ '
PWD=/home/stefano
QTDIR=/usr/lib/qt
SESSION_MANAGER=local/macondo:/tmp/.ICE-unix/1236
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=4
T1LIB_CONFIG=/usr/share/t1lib/t1lib.config
TERM=xterm
UID=1000
USER=stefano
WINDOWID=44040200
XCURSOR_THEME=Chameleon-Aluminium-Regular
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
_=set


More information about the User mailing list