def test_unicode_text(self):
    pdf = pdfquery.PDFQuery('tests/samples/bug18.pdf')
    pdf.load()
    self.assertEqual(pdf.pq('LTTextLineHorizontal:contains("Hop Hing Oils")').text(), u'5 Hop Hing Oils and Fats (Hong Kong) Ltd \uf06c 特寶精製豬油')
def test_unicode_text(self):
    pdf = pdfquery.PDFQuery('tests/samples/bug18.pdf')
    pdf.load()
    self.assertEqual(pdf.pq('LTTextLineHorizontal:contains("Hop Hing Oils")').text(), u'5 Hop Hing Oils and Fats (Hong Kong) Ltd \uf06c 特寶精製豬油')