Hi

i want to ask
is possible with your itextsharp to code text with slovak/czech special
letters ( á,é ....) ?
Text is ok but special slovak/czech letters are not fine.
i searched web for 6 hours and i cannot find solution
I am giving OdkazLink.ToString (web pdf) into StringBuilder and looking for
data within pdf

sorry if solution is obvious but i cannot find it :(

Thanks for your time

there is my block of code:



  Dim text As StringBuilder = New StringBuilder()
        Dim read As PdfReader = New PdfReader(OdkazLink.ToString)

        For page As Integer = 1 To read.NumberOfPages
            Dim strategy As ITextExtractionStrategy = New
SimpleTextExtractionStrategy()
            Dim eachlinetext As String =
PdfTextExtractor.GetTextFromPage(read, page, strategy)

            eachlinetext =
Encoding.UTF8.GetString(ASCIIEncoding.Convert(Encoding.[Default],
Encoding.UTF8, Encoding.[Default].GetBytes(eachlinetext)))
            'eachlinetext =
Encoding.GetEncoding(1250).GetString(Encoding.UTF8.GetBytes(eachlinetext))

            'eachlinetext =
Encoding.GetEncoding(1250).GetString(ASCIIEncoding.Convert(Encoding.[Default],
Encoding.[Default], Encoding.[Default].GetBytes(eachlinetext)))

            text.Append(eachlinetext)
            text.Append("<br/>")



        Next
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to