不知道什么时候才能改成全utf-8的

32 views
Skip to first unread message

codex

unread,
Jul 21, 2009, 11:15:02 PM7/21/09
to SciTE研究 - 中文小组
scite现在许多地方不是utf8方式工作的, 比如utf8格式的配置文件中的宽字符不能正确读取,
对于一般文件,如果全局设为utf-8,则ansi文档无论怎么切换都看不到正确字符
neil 说他曾想过整体改一下,但工作量太大,搁置了(他也说希望有人来做这个工作),真希望scite能纯粹的utf8

FTS .

unread,
Jul 22, 2009, 2:28:24 AM7/22/09
to scit...@googlegroups.com
同意~
并且希望设置可以更加人性化!

codex

unread,
Jul 22, 2009, 8:23:19 PM7/22/09
to SciTE研究 - 中文小组
配置文件我倒觉得不错,是该保留的功能, 做为一个强大的编辑器一些根本问题(比如编码)一定要做好,如果觉得功能不够可以用 lua + dll 扩

instanton

unread,
Jul 23, 2009, 7:38:45 AM7/23/09
to scit...@googlegroups.com
scitelatexide项目已经解决了UTF8编码自动识别的关键问题,因此可以用来同时处理GBK和UTF8中文文件。在现行的中文windows下,全局设置UTF8编码并不是最好的办法,而自动识别编码可能是更有优越性的解决方案。请访问http://code.google.com/p/scitelatexide/测试scitelatexide的新功能。

2009/7/23 codex <fcl...@gmail.com>

hideh4i

unread,
Jul 24, 2009, 1:30:17 AM7/24/09
to scit...@googlegroups.com

不错的改进..吼吼!

codex

unread,
Jul 26, 2009, 8:22:04 PM7/26/09
to SciTE研究 - 中文小组
>scitelatexide项目已经解决了UTF8编码自动识别

例子不能访问, 是 scite-ru 的那种方式么,用了一个dll和lua? 如果是那种,还是不太充分的,比如默认编码是utf-8(这时我新建
文档就是utf-8的)的候打开gbk的话就不太正常,还有scite自用的配置文件不能是utf-8的

下面是Neil的话

SciTE could use the 'Wide' functions but this is a significant
change. I once implemented this but gave up on the code due to its
complexity. The source code is available from
http://scintilla.sourceforge.net/sciteu.zip . If someone wants to take
this code and create a good implementation which works with both ANSI
and Wide APIs and then support the code then I'm willing to include
it.
Neil

codex

unread,
Jul 26, 2009, 8:25:10 PM7/26/09
to SciTE研究 - 中文小组
我说的全utf-8是指主要的内部实现为utf-8, 但是同样能识别不同编码
Reply all
Reply to author
Forward
0 new messages