Issues while encoding, decoding arabic language in terminal
问题 In my script Cosine similarity need first, to convert an Arabic string into a vector before perform Cosine similarity on terminal under Linux --> problem while convert Arabic string to vector producing Arabic as: [u'\u0627\u0644\u0634\u0645\u0633 \u0645\u0634\u0631\u0642\u0647 \u0646\u0647\u0627\u0631\u0627', u'\u0627\u0644\u0633\u0645\u0627\u0621 \u0632\u0631\u0642\u0627\u0621'] My script: train_set = ["السماء زرقاء", "الشمس مشرقه نهارا"] #Documents test_set = ["الشمس التى فى السماء مشرقه",