[Scilab-Dev] Re: SEP#12: Scipad - Add support for encodings
Yung-Jang Lee
yjlee123 at gmail.com
Tue Dec 23 16:29:31 CET 2008
I thought it may not need encoding conversion for this case.
User may open a file with wrong encoding and then switch to correct
encoding.
Since the file opened was treated as system encoded file, it may not be
converted to other encoding before user select a correct one. In this
case, it don't need to doing encoding conversion. May be I am wrong in this
aspect, however.
I have trouble building Scilab from source this passed week, and have no
chance to test your implementation. But I still satisfy the SEP even if this
"open then switch encoding" function is not provided.
Yung-Jang Lee
2008/12/23 François Vogel <fvogelnew1 at free.fr>
> Yung-Jang Lee said on 23/12/2008 15:22:
>
>> François ,
>>
>> As to section "Typical use case in Scipad" of the SEP :
>> -----------------------------------------------
>> 1. Select the encoding with which the next file should be read.
>> 2. Open the file.
>> 3. Fiddle with the content, add text, possibly switch buffers, select
>> other encodings, etc.
>> 4. Before saving, select the encoding that Scipad shall use for saving the
>> file.
>> 5. Save the file.
>> ---------------------------------------------------------
>>
>> Could it be possible add with alternate use case,
>> 1. Open the file
>> 2. Select the encoding for the opened file
>> ...
>> ...
>>
>
> Well, I'm happy to see that you have awaken up at last.
> I was surprised when you stated that the SEP was good enough for you.
>
> What you're asking looks like the encoding conversion feature I describe in
> the section "Limitations". If I'm wrong, how is your new request different
> from encoding conversion?
>
> I had an initial try to make encoding conversion work, it's not as
> straightforward as I thought.
>
> Francois
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20081223/5d4030d2/attachment.htm>
More information about the dev
mailing list