Actually there are two issues involved in this problem and both cannot be solved by changing character encodings.
1. I cannot input Japanese characters. 2. Japanese characters are rendered overlapped.
In both cases, 'Japanese' can be replaced with 'Chinese' or other asian languages.
First thing is that TextMate doesn't handle Japanese inputs. As Masaki says, TextMate needs to be a TSM client. This would require a lots of extra codes to implement.
Second thing is due to the way how TextMate recognizes character width and it could happen even if only ASCII characters are used. Current implementation of TextMate assumes that every fonts have fixed width. Although I can choose proportional fonts, they are not rendered correctly. Spaces between characters are sometimes too wide and sometimes too narrow. Ranges of Japanese characters are wider than that of ASCII characters and that results in overlapped renderings.
Solving these issues must be a hard work and maybe Allan wants to concentrate on other TODOs rather than multilingualizations. I'm very glad if TextMate supports Japanese and I hope it realizes in the future but I think it is not the time yet.
Anyway, supporting Japanese means supporting other asian languages except translating GUIs too and that must be a good chance for TextMate.
Thanks, Yuhei.
On Sep 12, 2005, at 8:13 PM, Robert Deaton wrote:
This has been brought up multiple times in the past, and I still think the only response you'll get it is to switch to UTF-8 or UTF-16. It makes life easier for everyone.
On 9/12/05, Masaki Yatsu yatsu@yatsu.info wrote:
Hello.
TextMate is the best text editor I have ever used. But I have one problem that I can't input Japanese. (I can't live without Japanese...)
In Japanese, many characters are used. So we have to use input-method to convert ascii characters into Japanese characters.
For more information, visit the following. http://lists.freedesktop.org/pipermail/uim/2005-July/001195.html http://lists.freedesktop.org/pipermail/uim/2005-July/001215.html
Mac OS X bundles the input-method named Kotoeri. When I use Kotoeri in TextMate, typed characters does not appear. And when I try to convert words, the candidate window is not displayed.
To use input-method, the text editor must be implemented as TSM(Text Service Manager) client. http://developer.apple.com/documentation/Carbon/Reference/ Text_Services_Manager/
I guess TextMate is not completely implemented as TSM client. (Sorry if I was wrong.)
Is it possible to resolve this problem?
And the character overlapping problem posted before happens also in my environment. http://lists.macromates.com/pipermail/textmate/2004-October/ 000322.html
Regards.
Masaki Yatsu yatsu@yatsu.info
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- --Robert Deaton http://somethingunpredictable.com
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate