Mariano Martinez Peck escreveu:
Hi everybody! I am using Ubuntu 8.04, latin american keyboard, squeak 3.9 vm, squeak 3.10.2 of Damien Cassou. The problem is that I cannot type symbols like: "á" , "ó", "ú" and so on....If I press the keys for those symbols I get "´a" "´o" and "´u" respectively. So, I guess it can be a problem with UTF8.
Does some know how can I fix this? is there somewhere in the squeak image I have to set the encoder ?
many thanks for the help,
Mariano
Try:
#!/bin/bash SQUEAK_ENCODING=UTF-8 SQUEAK_TEXTENC=UTF-8 LC_CTYPE="pt_BR" (or your language)... export SQUEAK_ENCODING SQUEAK_TEXTENC LC_CTYPE
/usr/local/bin/squeak squeak.image
Copy and paste the following to a file named UnicodeInputSupport-jlrr.1.cs
'From Squeak3.10beta of 22 July 2007 [latest update: #7159] on 20 March 2008 at 4:57:46 pm'! KeyboardInputInterpreter subclass: #UTF32InputInterpreter instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Multilingual-TextConversion'! !Latin1Environment class methodsFor: 'subclass responsibilities' stamp: 'jlrr 3/20/2008 12:55'! inputInterpreterClass ^ UTF32InputInterpreter ! ! !UTF32InputInterpreter methodsFor: 'as yet unclassified' stamp: 'jlrr 3/20/2008 12:55'! nextCharFrom: t1 firstEvt: t2 ^ Character value: (t2 at: 6)! !
Then in the menu: open->files->install UnicodeInputSupport-jlrr.1.cs
As consequence you can get support for UTF-8 in Linux.
Best regards,
CdAB