I am a bit puzzled by Pharo's (Pharo 5) behavior when having accentuated characters inside a string. I have a method that sends cascaded messages and it automatically gets "reformated" with a temp variable. This is the original code I typed and tried to save: leCarreEtLes4Coins ^ self new tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25); name: 'Le carré et les 4 coins' This is how Pharo reformats my code when I save! leCarreEtLes4Coins | tmp2 | tmp2 := self new. tmp2 tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25). ^ tmp2 name: 'Le carré et les 4 coins' Has anyone seen this behavior? More details: Pharo5.0 Latest update: #50760 Virtual Machine --------------- E:\Pharo5-dev\Pharo.exe CoInterpreter VMMaker.oscog-eem.1855 uuid: d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 https://github.com/pharo-project/pharo-vm.git Commit: b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #589 Win32 built on May 4 2016 12:17:02 Compiler: 4.6.2 VMMaker versionString https://github.com/pharo-project/pharo-vm.git Commit: b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 +0200 By: Esteban Lorenzano <[hidden email]> Jenkins build #589 CoInterpreter VMMaker.oscog-eem.1855 uuid: d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 Loaded VM Modules ----------------- B2DPlugin VMMaker.oscog-eem.1855 (i) BitBltPlugin VMMaker.oscog-eem.1855 (i) FT2Plugin Freetype-Plugin-EstebanLorenzano.69 (e) FilePlugin VMMaker.oscog-eem.1855 (i) FloatArrayPlugin VMMaker.oscog-eem.1855 (i) Kernel32 LargeIntegers v2.0 VMMaker.oscog-eem.1855 (i) LocalePlugin VMMaker.oscog-eem.1855 (i) Matrix2x3Plugin VMMaker.oscog-eem.1855 (i) MiscPrimitivePlugin VMMaker.oscog-eem.1855 (i) SecurityPlugin VMMaker.oscog-eem.1855 (i) SocketPlugin VMMaker.oscog-eem.1855 (i) SqueakFFIPrims SurfacePlugin May 4 2016 (e) UUIDPlugin VMMaker.oscog-eem.1855 (i) ZipPlugin VMMaker.oscog-eem.1855 (i) VM Built-in Modules ------------------- ADPCMCodecPlugin VMMaker.oscog-eem.1855 (i) AsynchFilePlugin VMMaker.oscog-eem.1855 (i) B2DPlugin VMMaker.oscog-eem.1855 (i) B3DAcceleratorPlugin VMMaker.oscog-eem.1855 (i) BMPReadWriterPlugin VMMaker.oscog-eem.1855 (i) BitBltPlugin VMMaker.oscog-eem.1855 (i) CroquetPlugin VMMaker.oscog-eem.1855 (i) DSAPrims CryptographyPlugins-rww.10 (i) DropPlugin VMMaker.oscog-eem.1855 (i) FFTPlugin VMMaker.oscog-eem.1855 (i) FilePlugin VMMaker.oscog-eem.1855 (i) FloatArrayPlugin VMMaker.oscog-eem.1855 (i) FloatMathPlugin VMMaker.oscog-eem.1855 (i) HostWindowPlugin VMMaker.oscog-eem.1855 (i) IA32ABI VMMaker.oscog-eem.1855 (i) JPEGReadWriter2Plugin VMMaker.oscog-eem.1855 (i) JPEGReaderPlugin VMMaker.oscog-eem.1855 (i) JoystickTabletPlugin VMMaker.oscog-eem.1855 (i) Klatt VMMaker.oscog-eem.1855 (i) LargeIntegers v2.0 VMMaker.oscog-eem.1855 (i) LocalePlugin VMMaker.oscog-eem.1855 (i) MIDIPlugin VMMaker.oscog-eem.1855 (i) Matrix2x3Plugin VMMaker.oscog-eem.1855 (i) MiscPrimitivePlugin VMMaker.oscog-eem.1855 (i) Mpeg3Plugin VMMaker.oscog-eem.1855 (i) RePlugin VMMaker.oscog-eem.1855 (i) SDL2DisplayPlugin SDL2DisplayPlugin-RonieSalgado.1 (i) SecurityPlugin VMMaker.oscog-eem.1855 (i) SerialPlugin VMMaker.oscog-eem.1855 (i) SocketPlugin VMMaker.oscog-eem.1855 (i) SoundCodecPrims VMMaker.oscog-eem.1855 (i) SoundPlugin VMMaker.oscog-eem.1855 (i) SqueakFFIPrims StarSqueakPlugin VMMaker.oscog-eem.1855 (i) UUIDPlugin VMMaker.oscog-eem.1855 (i) Win32OSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-EstebanLorenzano.53 (i) ZipPlugin VMMaker.oscog-eem.1855 (i) VM Configuration ---------------- E:\Pharo5-dev\Pharo.ini [Global] DeferUpdate=0 ShowConsole=0 DynamicConsole=1 ReduceCPUUsage=1 ReduceCPUInBackground=1 3ButtonMouse=0 1ButtonMouse=0 UseDirectSound=1 PriorityBoost=0 B3DXUsesOpenGL=0 CaseSensitiveFileMode=0 Operating System/Hardware ------------------------- Win32 6.2 IX86 Operating System Details ------------------------ Operating System: Windows 10 Home (Build 9200 ) Registered Owner: ??? Registered Company: ??? SP major version: 0 SP minor version: 0 Suite mask: 300 Product type: 1 ----------------- Benoît St-Jean Yahoo! Messenger: bstjean Twitter: @BenLeChialeux Pinterest: benoitstjean Instagram: Chef_Benito IRC: lamneth Blogue: endormitoire.wordpress.com "A standpoint is an intellectual horizon of radius zero". (A. Einstein) |
2016-09-23 21:12 GMT+02:00 Benoit St-Jean via Pharo-dev <[hidden email]>:
I can not reproduce this, but it looks like a missing or corrupted changes file.
|
Hi Nicolai & Benoit,
On Fri, Sep 23, 2016 at 09:54:11PM +0200, Nicolai Hess wrote: > 2016-09-23 21:12 GMT+02:00 Benoit St-Jean via Pharo-dev < > [hidden email]>: > > ---------- Weitergeleitete Nachricht ---------- > From: Benoit St-Jean <[hidden email]> > To: Pharo Development List <[hidden email]> > Cc: > Date: Fri, 23 Sep 2016 19:11:20 +0000 (UTC) > Subject: Problem with accentuated characters > I am a bit puzzled by Pharo's (Pharo 5) behavior when having accentuated > characters inside a string. > > I have a method that sends cascaded messages and it automatically gets > "reformated" with a temp variable. > > This is the original code I typed and tried to save: > > leCarreEtLes4Coins > ^ self new > tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25); > name: 'Le carré et les 4 coins' > > > > This is how Pharo reformats my code when I save! > > leCarreEtLes4Coins > | tmp2 | > tmp2 := self new. > tmp2 tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25). > ^ tmp2 name: 'Le carré et les 4 coins' > > Has anyone seen this behavior? > > > I can not reproduce this, but it looks like a missing or corrupted changes > file. I've seen this happen once - the first slice I submitted for issue 18990 (https://pharo.fogbugz.com/f/cases/18990/Text-missing-includesSubstring-and-includesSubstring-caseSensitive) had the same problem. From memory, the second time I saved the method the source was saved correctly, suggesting that it isn't a corrupted change file issue. This was in Pharo 6. I haven't seen the issue since, so don't have any more information, unfortunately. Cheers, Alistair |
In reply to this post by Pharo Smalltalk Developers mailing list
Hi Benoît
From times to times it happens also to me, I think is relate to a bug I reported some times ago: https://pharo.fogbugz.com/f/cases/18902 Davide Pharo Smalltalk Developers mailing list wrote > I am a bit puzzled by Pharo's (Pharo 5) behavior when having accentuated > characters inside a string. > I have a method that sends cascaded messages and it automatically gets > "reformated" with a temp variable. > This is the original code I typed and tried to save: > leCarreEtLes4Coins > ^ self new > tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25); > name: 'Le carré et les 4 coins' > > > This is how Pharo reformats my code when I save! > leCarreEtLes4Coins > | tmp2 | > tmp2 := self new. > tmp2 tiles: #(1 5 7 8 9 12 13 14 17 18 19 21 25). > ^ tmp2 name: 'Le carré et les 4 coins' > > Has anyone seen this behavior? > > More details: > Pharo5.0 > Latest update: #50760Virtual Machine > --------------- > E:\Pharo5-dev\Pharo.exe > CoInterpreter VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > https://github.com/pharo-project/pharo-vm.git Commit: > b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 +0200 > By: Esteban Lorenzano < > estebanlm@ > > Jenkins build #589 > > Win32 built on May 4 2016 12:17:02 Compiler: 4.6.2 > VMMaker versionString https://github.com/pharo-project/pharo-vm.git > Commit: b8ec25a570d7539653e1d793e97609adb509aaed Date: 2016-05-04 11:14:22 > +0200 By: Esteban Lorenzano < > estebanlm@ > > Jenkins build #589 > CoInterpreter VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > StackToRegisterMappingCogit VMMaker.oscog-eem.1855 uuid: > d8e4a3c2-a3bf-4adc-b224-8012903a1ef4 May 4 2016 > Loaded VM Modules > ----------------- > B2DPlugin VMMaker.oscog-eem.1855 (i) > BitBltPlugin VMMaker.oscog-eem.1855 (i) > FT2Plugin Freetype-Plugin-EstebanLorenzano.69 (e) > FilePlugin VMMaker.oscog-eem.1855 (i) > FloatArrayPlugin VMMaker.oscog-eem.1855 (i) > Kernel32 > LargeIntegers v2.0 VMMaker.oscog-eem.1855 (i) > LocalePlugin VMMaker.oscog-eem.1855 (i) > Matrix2x3Plugin VMMaker.oscog-eem.1855 (i) > MiscPrimitivePlugin VMMaker.oscog-eem.1855 (i) > SecurityPlugin VMMaker.oscog-eem.1855 (i) > SocketPlugin VMMaker.oscog-eem.1855 (i) > SqueakFFIPrims > SurfacePlugin May 4 2016 (e) > UUIDPlugin VMMaker.oscog-eem.1855 (i) > ZipPlugin VMMaker.oscog-eem.1855 (i) > > VM Built-in Modules > ------------------- > ADPCMCodecPlugin VMMaker.oscog-eem.1855 (i) > AsynchFilePlugin VMMaker.oscog-eem.1855 (i) > B2DPlugin VMMaker.oscog-eem.1855 (i) > B3DAcceleratorPlugin VMMaker.oscog-eem.1855 (i) > BMPReadWriterPlugin VMMaker.oscog-eem.1855 (i) > BitBltPlugin VMMaker.oscog-eem.1855 (i) > CroquetPlugin VMMaker.oscog-eem.1855 (i) > DSAPrims CryptographyPlugins-rww.10 (i) > DropPlugin VMMaker.oscog-eem.1855 (i) > FFTPlugin VMMaker.oscog-eem.1855 (i) > FilePlugin VMMaker.oscog-eem.1855 (i) > FloatArrayPlugin VMMaker.oscog-eem.1855 (i) > FloatMathPlugin VMMaker.oscog-eem.1855 (i) > HostWindowPlugin VMMaker.oscog-eem.1855 (i) > IA32ABI VMMaker.oscog-eem.1855 (i) > JPEGReadWriter2Plugin VMMaker.oscog-eem.1855 (i) > JPEGReaderPlugin VMMaker.oscog-eem.1855 (i) > JoystickTabletPlugin VMMaker.oscog-eem.1855 (i) > Klatt VMMaker.oscog-eem.1855 (i) > LargeIntegers v2.0 VMMaker.oscog-eem.1855 (i) > LocalePlugin VMMaker.oscog-eem.1855 (i) > MIDIPlugin VMMaker.oscog-eem.1855 (i) > Matrix2x3Plugin VMMaker.oscog-eem.1855 (i) > MiscPrimitivePlugin VMMaker.oscog-eem.1855 (i) > Mpeg3Plugin VMMaker.oscog-eem.1855 (i) > RePlugin VMMaker.oscog-eem.1855 (i) > SDL2DisplayPlugin SDL2DisplayPlugin-RonieSalgado.1 (i) > SecurityPlugin VMMaker.oscog-eem.1855 (i) > SerialPlugin VMMaker.oscog-eem.1855 (i) > SocketPlugin VMMaker.oscog-eem.1855 (i) > SoundCodecPrims VMMaker.oscog-eem.1855 (i) > SoundPlugin VMMaker.oscog-eem.1855 (i) > SqueakFFIPrims > StarSqueakPlugin VMMaker.oscog-eem.1855 (i) > UUIDPlugin VMMaker.oscog-eem.1855 (i) > Win32OSProcessPlugin > VMConstruction-Plugins-OSProcessPlugin.oscog-EstebanLorenzano.53 (i) > ZipPlugin VMMaker.oscog-eem.1855 (i) > > VM Configuration > ---------------- > E:\Pharo5-dev\Pharo.ini > [Global] > DeferUpdate=0 > ShowConsole=0 > DynamicConsole=1 > ReduceCPUUsage=1 > ReduceCPUInBackground=1 > 3ButtonMouse=0 > 1ButtonMouse=0 > UseDirectSound=1 > PriorityBoost=0 > B3DXUsesOpenGL=0 > CaseSensitiveFileMode=0 > > Operating System/Hardware > ------------------------- > Win32 6.2 IX86 > > Operating System Details > ------------------------ > Operating System: Windows 10 Home (Build 9200 ) > Registered Owner: ??? > Registered Company: ??? > SP major version: 0 > SP minor version: 0 > Suite mask: 300 > Product type: 1 > > ----------------- > Benoît St-Jean > Yahoo! Messenger: bstjean > Twitter: @BenLeChialeux > Pinterest: benoitstjean > Instagram: Chef_Benito > IRC: lamneth > Blogue: endormitoire.wordpress.com > "A standpoint is an intellectual horizon of radius zero". (A. Einstein) -- View this message in context: http://forum.world.st/Problem-with-accentuated-characters-tp4916892p4932198.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. |
In reply to this post by Pharo Smalltalk Developers mailing list
Hi Benoît
From times to times it happens also to me, I think is relate to a bug I reported some times ago: https://pharo.fogbugz.com/f/cases/18902 Davide
|
Free forum by Nabble | Edit this page |