Hi All, anybody able to explain why in some cases I get a correct display of non-latin1 characters and in others not ? Like in the joined inspector. Note that I'm displaying more or less the same WideString (where the Ï letter appears as ? or as Ï). Thanks, Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
AFAIK that might depend on the font ;). Do you have the same font for everything? I remember having problems displaying some strange characters in methods, whereas they would show up fine in the inspectors. If you have a reproducible use case can you open a bug report with a nice description? On 2013-07-03, at 09:55, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi All,
anybody able to explain why in some cases I get a correct display of non-latin1 characters and in others not ? Like in the joined inspector.
Note that I'm displaying more or less the same WideString (where the Ï letter appears as ? or as Ï).
Thanks,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Le 03/07/2013 09:55, Camillo Bruni a écrit :
AFAIK that might depend on the font ;).
Oh, that sounds about right.
Do you have the same font for everything?
In the settings, yes. Oh, finally, no. The Bitmap DejaVu Sans used by default was the culprit, the rest of the fonts were set automagically to DejaVu Sans (without the Bitmap). It went correct with selecting DejaVu Sans Regular 9 for the Default font (instead of Bitmap DejaVu Sans Regular 9).
I remember having problems displaying some strange characters in methods, whereas they would show up fine in the inspectors.
If you have a reproducible use case can you open a bug report with a nice description?
As you can see, not really the case for a bug report :) Thanks Camillo. I can also confirm that FileReference get utf8 file names and path correctly :) Thierry
On 2013-07-03, at 09:55, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi All,
anybody able to explain why in some cases I get a correct display of non-latin1 characters and in others not ? Like in the joined inspector.
Note that I'm displaying more or less the same WideString (where the Ï letter appears as ? or as Ï).
Thanks,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
On Jul 3, 2013, at 10:10 AM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Le 03/07/2013 09:55, Camillo Bruni a écrit :
AFAIK that might depend on the font ;).
Oh, that sounds about right.
Do you have the same font for everything?
In the settings, yes. Oh, finally, no. The Bitmap DejaVu Sans used by default was the culprit, the rest of the fonts were set automagically to DejaVu Sans (without the Bitmap).
It went correct with selecting DejaVu Sans Regular 9 for the Default font (instead of Bitmap DejaVu Sans Regular 9).
I got some funny behavior when I enable FreeType in my startup preferences. The sad thing is that it was the same configuration as the one of camillo. So I was puzzled. Stef
I remember having problems displaying some strange characters in methods, whereas they would show up fine in the inspectors.
If you have a reproducible use case can you open a bug report with a nice description?
As you can see, not really the case for a bug report :)
Thanks Camillo. I can also confirm that FileReference get utf8 file names and path correctly :)
Thierry
On 2013-07-03, at 09:55, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi All,
anybody able to explain why in some cases I get a correct display of non-latin1 characters and in others not ? Like in the joined inspector.
Note that I'm displaying more or less the same WideString (where the Ï letter appears as ? or as Ï).
Thanks,
Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
-- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95
Am 03.07.2013 um 09:55 schrieb Goubier Thierry <thierry.goubier@cea.fr>:
Hi All,
anybody able to explain why in some cases I get a correct display of non-latin1 characters and in others not ? Like in the joined inspector.
Note that I'm displaying more or less the same WideString (where the Ï letter appears as ? or as Ï).
Camillo is right. The ? is the official character to display if a character isn't available in the font. Having encoding issues would display different things. Norbert
On 03 Jul 2013, at 09:58, Norbert Hartl <norbert@hartl.name> wrote:
Am 03.07.2013 um 09:55 schrieb Goubier Thierry <thierry.goubier@cea.fr>:
Hi All,
anybody able to explain why in some cases I get a correct display of non-latin1 characters and in others not ? Like in the joined inspector.
Note that I'm displaying more or less the same WideString (where the Ï letter appears as ? or as Ï).
Camillo is right. The ? is the official character to display if a character isn't available in the font. Having encoding issues would display different things.
Norbert
Try the Free type font 'Arial Unicode MS' for example, and you will see almost any Unicode char you can think of. Sven -- Sven Van Caekenberghe Proudly supporting Pharo http://pharo.org http://association.pharo.org http://consortium.pharo.org
participants (5)
-
Camillo Bruni -
Goubier Thierry -
Norbert Hartl -
Stéphane Ducasse -
Sven Van Caekenberghe