Accentuate Characters

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Accentuate Characters

Adrien BARREAU
Hello,

I want to compose accentuate character in Pharo, but I don't know how I can do that.
I saw in Visual Works I can write this kind of things :

$e composeDiacritical: (Character diacriticalNamed: #acute).

That returns $é.

But, I don't find a way to do that in Pharo.

Does somebody have an idea ? :)

A.B.


Envie de plus d'originalité dans vos conversations ? Téléchargez gratuitement les Emoch'ticones !
_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Accentuate Characters

hernanmd
http://www.squeaksource.com/DiacriticSupport.html

2010/5/17 Adrien BARREAU <[hidden email]>:

> Hello,
>
> I want to compose accentuate character in Pharo, but I don't know how I can
> do that.
> I saw in Visual Works I can write this kind of things :
>
> $e composeDiacritical: (Character diacriticalNamed: #acute).
>
> That returns $é.
>
> But, I don't find a way to do that in Pharo.
>
> Does somebody have an idea ? :)
>
> A.B.
>
> ________________________________
> Envie de plus d'originalité dans vos conversations ? Téléchargez
> gratuitement les Emoch'ticones !
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>

_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Accentuate Characters

Stéphane Ducasse
cool hernan it is working in 1.1?

stef

On May 20, 2010, at 3:09 PM, Hernán Morales Durand wrote:

> http://www.squeaksource.com/DiacriticSupport.html
>
> 2010/5/17 Adrien BARREAU <[hidden email]>:
>> Hello,
>>
>> I want to compose accentuate character in Pharo, but I don't know how I can
>> do that.
>> I saw in Visual Works I can write this kind of things :
>>
>> $e composeDiacritical: (Character diacriticalNamed: #acute).
>>
>> That returns $é.
>>
>> But, I don't find a way to do that in Pharo.
>>
>> Does somebody have an idea ? :)
>>
>> A.B.
>>
>> ________________________________
>> Envie de plus d'originalité dans vos conversations ? Téléchargez
>> gratuitement les Emoch'ticones !
>> _______________________________________________
>> Pharo-users mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>>
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: [Pharo-project] Fwd: Accentuate Characters

Mariano Martinez Peck
In reply to this post by Adrien BARREAU


2010/5/20 Henrik Johansen <[hidden email]>

On May 20, 2010, at 2:18 57PM, Mariano Martinez Peck wrote:



---------- Forwarded message ----------
From: Adrien BARREAU <[hidden email]>
Date: Mon, May 17, 2010 at 11:16 AM
Subject: [Pharo-users] Accentuate Characters
To: [hidden email]


Hello,

I want to compose accentuate character in Pharo, but I don't know how I can do that.
I saw in Visual Works I can write this kind of things :

$e composeDiacritical: (Character diacriticalNamed: #acute).

That returns $é.

But, I don't find a way to do that in Pharo.

Does somebody have an idea ? :)

A.B.

cc := CombinedChar new.
cc add: $e; add: (Unicode value: 769); combined

Diacriticals in CombinedChar only contain the Unicode Combining Diacritical Marks, it seems.
There's no symbol -> diacriticial char mapping as far as I can tell.

Cheers,
Henry




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Reply | Threaded
Open this post in threaded view
|

Re: Accentuate Characters

hernanmd
In reply to this post by Stéphane Ducasse
Yes, works in PharoCore1.1ALPHA Latest update: #11367

2010/5/20 Stéphane Ducasse <[hidden email]>:

> cool hernan it is working in 1.1?
>
> stef
>
> On May 20, 2010, at 3:09 PM, Hernán Morales Durand wrote:
>
>> http://www.squeaksource.com/DiacriticSupport.html
>>
>> 2010/5/17 Adrien BARREAU <[hidden email]>:
>>> Hello,
>>>
>>> I want to compose accentuate character in Pharo, but I don't know how I can
>>> do that.
>>> I saw in Visual Works I can write this kind of things :
>>>
>>> $e composeDiacritical: (Character diacriticalNamed: #acute).
>>>
>>> That returns $é.
>>>
>>> But, I don't find a way to do that in Pharo.
>>>
>>> Does somebody have an idea ? :)
>>>
>>> A.B.
>>>
>>> ________________________________
>>> Envie de plus d'originalité dans vos conversations ? Téléchargez
>>> gratuitement les Emoch'ticones !
>>> _______________________________________________
>>> Pharo-users mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>
>>>
>>
>> _______________________________________________
>> Pharo-users mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>

_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users