Hello,
I have a problem and I'm stuck. I have to import file .html to table.
create table dbo.test
(
Full_Row nvarchar(MAX) COLLATE Polish_CS_AS
)
BULK INSERT dbo.test
FROM 'C:\Temp\html_testy\EpuOrzeczenie__15046678.html'
WITH (CODEPAGE = 1250, FORMATFILE = 'C:\Temp\myTestFormatFiles.FMT' )
SELECT * FROM dbo.test
.Fmt file:
10.0
1
1 SQLCHAR 0 0 "\r" 1 Full_Row Polish_CS_AS
I do this like that because I would like to use this tools to parse html text. http://qa.sqlservercentral.com/articles/HTML/88605/
This will be a procedure so I can't convert codepage in for example "notepad++" this .html file.
The results:
... Sąd Rejonowy Lublin-Zachód w Lublinie, stwierdza, że niniejszy tytuł...
But should be:
... Sąd Rejonowy Lublin-Zachód w Lublinie, stwierdza, iż niniejszy tytuł‚....
Someone have some solution for this problem?