Re: Character encoding not being detected when using Link to external source in calc

2016-01-28 Thread Chris Sherlock
Ah! That could well be it - thanks Mark! I’ll test this out. Chris > On 29 Jan 2016, at 3:26 AM, Mark Hung wrote: > > http://opengrok.libreoffice.org/xref/core/ucb/source/ucp/webdav-neon/ContentProperties.cxx#454 > >

Re: Character encoding not being detected when using Link to external source in calc

2016-01-28 Thread Mark Hung
http://opengrok.libreoffice.org/xref/core/ucb/source/ucp/webdav-neon/ContentProperties.cxx#454 -else if ( rName == "Content-Type" ) +else if ( rName.equalsIgnoreAsciiCaseAscii("Content-Type")) 2016-01-28 9:16 GMT+08:00 Chris Sherlock : > Hi guys, > > I’m afraid I’m still a bit stuck on

Re: Character encoding not being detected when using Link to external source in calc

2016-01-27 Thread Chris Sherlock
Hi guys, I’m afraid I’m still a bit stuck on this, any other ideas what might be causing the problem? Chris > On 6 Jan 2016, at 4:27 AM, Chris Sherlock wrote: > > Thanks Mark, appreciate these code pointers! > > (I’m cc’ing in the mailing list so others can comment) > > Chris > >> On 4 Ja

Re: Character encoding not being detected when using Link to external source in calc

2016-01-05 Thread Chris Sherlock
Thanks Mark, appreciate these code pointers! (I’m cc’ing in the mailing list so others can comment) Chris > On 4 Jan 2016, at 8:21 PM, Mark Hung wrote: > > > I meant there is a chance for SvParser::GetNextChar() to switch encoding, but > yes it is less relevant. > > Grepping content-type un

Re: Character encoding not being detected when using Link to external source in calc

2016-01-04 Thread Chris Sherlock
Hi Mark, BOM detection is irrelevant here. The HTTP header states that it should be UTF8, but this is not being honoured. There is something further down the stack that isn’t recording the HTTP headers. Chris > On 4 Jan 2016, at 4:23 PM, Mark Hung wrote: > > Hi Chris, > > As recently I'm

Re: Character encoding not being detected when using Link to external source in calc

2016-01-03 Thread Mark Hung
Hi Chris, As recently I'm working on SvParser and HTMLParser, There is BOM detection is in SvParser::GetNextChar(). A quick look at eehtml, EditHTMLParser::EditHTMLParser seems relevant. Best regards. 2016-01-04 12:02 GMT+08:00 Chris Sherlock : > Hey guys, > > Probably nobody saw this becaus

Re: Character encoding not being detected when using Link to external source in calc

2016-01-03 Thread Chris Sherlock
Hey guys, Probably nobody saw this because of the time of year (Happy New Year, incidentally!!!). Just a quick ping to the list to see if anyone can give me some pointers. Chris > On 30 Dec 2015, at 12:15 PM, Chris Sherlock > wrote: > > Hi guys, > > In bug 95217 - https://bugs.documentfo

Character encoding not being detected when using Link to external source in calc

2015-12-29 Thread Chris Sherlock
Hi guys, In bug 95217 - https://bugs.documentfoundation.org/show_bug.cgi?id=95217 - Persian test in a webpage encoded as UTF-8 is corrupting. If I take the webpage and save to an HTML file encoded as UTF8, then there are no problems and the Persian text comes through fine. However, when connectin