* mkiv and unicode
@ 2010-03-15 17:27 Wolfgang Werners-Lucchini
2010-03-15 17:45 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Werners-Lucchini @ 2010-03-15 17:27 UTC (permalink / raw)
To: ntg-context
Hallo,
I work all the time with good old mkii-context, but I have had a lot
of problems last time, which could be solved easely if I switch to
mkiv. So I wonder if I should change. The main argument for me to
stay with mkii is the following:
I have a lot of lua scripts withhin scite which are preprocessing my
textfiles (string.gsub etc.) These scripts depent on ansi-code and do
not work with unicode too.
An other problem I have, is to teach scite to use utf-8 per default.
(code.page=65001) does not work for me. I have tried this with a lot
of versions of scite.
Has anybody experiences with scite-lua-scripts and unicode?
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mkiv and unicode
2010-03-15 17:27 mkiv and unicode Wolfgang Werners-Lucchini
@ 2010-03-15 17:45 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2010-03-15 17:45 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Wolfgang Werners-Lucchini
On 15-3-2010 18:27, Wolfgang Werners-Lucchini wrote:
> Hallo,
>
> I work all the time with good old mkii-context, but I have had a lot
> of problems last time, which could be solved easely if I switch to
> mkiv. So I wonder if I should change. The main argument for me to
> stay with mkii is the following:
>
> I have a lot of lua scripts withhin scite which are preprocessing my
> textfiles (string.gsub etc.) These scripts depent on ansi-code and do
> not work with unicode too.
>
> An other problem I have, is to teach scite to use utf-8 per default.
> (code.page=65001) does not work for me. I have tried this with a lot
> of versions of scite.
code.page=65001
output.code.page=65001
> Has anybody experiences with scite-lua-scripts and unicode?
it depends on what you do but normally lua does not care about funny
characters in strings
an option is to run the script outside scite and pipe data back
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mkiv and unicode
2010-03-16 16:14 ` Wolfgang Werners-Lucchini
@ 2010-03-16 16:40 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2010-03-16 16:40 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Wolfgang Werners-Lucchini
On 16-3-2010 17:14, Wolfgang Werners-Lucchini wrote:
> Hallo,
>
>>> I work all the time with good old mkii-context, but I have had a lot
>>> of problems last time, which could be solved easely if I switch to
>>> mkiv. So I wonder if I should change. The main argument for me to
>>> stay with mkii is the following:
>>>
>>> I have a lot of lua scripts withhin scite which are preprocessing my
>>> textfiles (string.gsub etc.) These scripts depent on ansi-code and do
>>> not work with unicode too.
>>>
>>> An other problem I have, is to teach scite to use utf-8 per default.
>>> (code.page=65001) does not work for me. I have tried this with a
>>> lot of versions of scite.
>>
>> code.page=65001
>> output.code.page=65001
>
> I have tried this very often. I have tried this in a fresh scite
> installation uncommenting this in the global propertie file. But it
> doesn't work.
> File->Encoding is Code Page Property. And my files are saved in Ansi.
strange
> I do not want look every time if I have saved with the proper
> encoding. I do not want files with ansi and files in utf mixed. I
> have considered to change the editor, but I very like the lua
> ability.
>
>>> Has anybody experiences with scite-lua-scripts and unicode?
>>
>> it depends on what you do but normally lua does not care about funny
>> characters in strings
>>
>> an option is to run the script outside scite and pipe data back
>
> Yes, this should allow one to use special librarys. I have heard of
> 'slnunicode' but haven't tested it yet.
you can then just use texlua which has this built in
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: mkiv and unicode
[not found] <mailman.947.1268675147.26807.ntg-context@ntg.nl>
@ 2010-03-16 16:14 ` Wolfgang Werners-Lucchini
2010-03-16 16:40 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Werners-Lucchini @ 2010-03-16 16:14 UTC (permalink / raw)
To: ntg-context
Hallo,
> > I work all the time with good old mkii-context, but I have had a lot
> > of problems last time, which could be solved easely if I switch to
> > mkiv. So I wonder if I should change. The main argument for me to
> > stay with mkii is the following:
> >
> > I have a lot of lua scripts withhin scite which are preprocessing my
> > textfiles (string.gsub etc.) These scripts depent on ansi-code and do
> > not work with unicode too.
> >
> > An other problem I have, is to teach scite to use utf-8 per default.
> > (code.page=65001) does not work for me. I have tried this with a
> > lot of versions of scite.
>
> code.page=65001
> output.code.page=65001
I have tried this very often. I have tried this in a fresh scite
installation uncommenting this in the global propertie file. But it
doesn't work.
File->Encoding is Code Page Property. And my files are saved in Ansi.
I do not want look every time if I have saved with the proper
encoding. I do not want files with ansi and files in utf mixed. I
have considered to change the editor, but I very like the lua
ability.
> > Has anybody experiences with scite-lua-scripts and unicode?
>
> it depends on what you do but normally lua does not care about funny
> characters in strings
>
> an option is to run the script outside scite and pipe data back
Yes, this should allow one to use special librarys. I have heard of
'slnunicode' but haven't tested it yet.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-03-16 16:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15 17:27 mkiv and unicode Wolfgang Werners-Lucchini
2010-03-15 17:45 ` Hans Hagen
[not found] <mailman.947.1268675147.26807.ntg-context@ntg.nl>
2010-03-16 16:14 ` Wolfgang Werners-Lucchini
2010-03-16 16:40 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).