On 17 Dec 2013, at 3:32 PM, Dave S wrote:
> On Monday, December 16, 2013 7:15:12 AM UTC-8, Jonathan Lundell wrote:
> On 16 Dec 2013, at 2:18 AM, peter wrote:
>> I am impressed at how helpful you have been on this Jonathon.
>>
>> It does say in the mht file that it is windows-1252 encoded.
>>
>>
On Monday, December 16, 2013 7:15:12 AM UTC-8, Jonathan Lundell wrote:
>
> On 16 Dec 2013, at 2:18 AM, peter >
> wrote:
>
> I am impressed at how helpful you have been on this Jonathon.
>
> It does say in the mht file that it is windows-1252 encoded.
>
> It turns out that
> s.decode('cp1252
On 16 Dec 2013, at 2:18 AM, peter wrote:
> I am impressed at how helpful you have been on this Jonathon.
>
> It does say in the mht file that it is windows-1252 encoded.
>
> It turns out that
> s.decode('cp1252').encode('utf-8')
>
> is working correctly. I mistakenly thought it was not
>
On 13 Dec 2013, at 2:29 AM, peter wrote:
> Thank you Jonathon for taking the time to make two good suggestions. The
> first did not get the apostrophes to appear. WRT the second, one can only
> control the encoding of Word when outputting txt files.
>
> I have now created a work around, a bit u
Thank you Jonathon for taking the time to make two good suggestions. The
first did not get the apostrophes to appear. WRT the second, one can only
control the encoding of Word when outputting txt files.
I have now created a work around, a bit ugly but the best I can achieve for
the moment.
sma
On 12 Dec 2013, at 6:12 PM, Jonathan Lundell wrote:
> On 12 Dec 2013, at 4:16 PM, peter wrote:
>> I have a word document that I output as a .'.mht; file ie, a 'single file
>> web page'.
>>
>> I can put sections of this into a string field in a database and then
>> display the field through a
On 12 Dec 2013, at 4:16 PM, peter wrote:
> I have a word document that I output as a .'.mht; file ie, a 'single file
> web page'.
>
> I can put sections of this into a string field in a database and then display
> the field through a view, and the formatting in the word document is
> preserve
I have a word document that I output as a .'.mht; file ie, a 'single file
web page'.
I can put sections of this into a string field in a database and then
display the field through a view, and the formatting in the word document
is preserved.
here is a line from the file that I read into web
8 matches
Mail list logo