Turante / livepress

Automatically exported from code.google.com/p/livepress
1 stars 0 forks source link

Tags encoding #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create new post
2.Add tags in Russian like "путешествия"
3.Post it, go to LJ see that tag text is messed

Original issue reported on code.google.com by karen.ag...@gmail.com on 12 Oct 2010 at 7:45

GoogleCodeExporter commented 9 years ago
Had the same issue with Russian tags (LivePress v2.2.1). Seems like the tag 
list is double utf8-encoded.

Changing 
  "taglist" => utf8_encode(get_category_list($post_ID)) 
  to
  "taglist" => get_category_list($post_ID)

in line 382 of lpsynch.php helps.

Original comment by edt...@gmail.com on 14 Dec 2010 at 3:51