Python Forum
tf.gfile.FastGFile error unicode ( japanese characters )
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tf.gfile.FastGFile error unicode ( japanese characters )
#1
hi bro!!!

I have tried 2 cases: Normal characters vs Japanese characters
Normal characters can be run but Japanese characters not working.

image_data = tf.gfile.FastGFile(filename, 'rb').read()

example imagename: myname-ナガセ ヒロトシ.jpg

Please help!

Tks
Reply
#2
Could you elaborate on "not working"? Do you get a stacktrace? What OS are you using?
Reply
#3
LINUX
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UnicodeEncodeError - Dealing with Japanese Characters fioranosnake 2 2,352 Jul-07-2022, 08:43 PM
Last Post: fioranosnake
  Numpy error while filling up matrix with Characters august 4 1,795 Apr-13-2022, 10:28 PM
Last Post: august
  Regex not finding all unicode characters tantony 3 2,234 Jul-13-2021, 09:11 PM
Last Post: tantony
  Remove escape characters / Unicode characters from string DreamingInsanity 5 13,410 May-15-2020, 01:37 PM
Last Post: snippsat
  python-resize-image unicode decode error Pedroski55 3 3,400 Apr-21-2020, 10:56 AM
Last Post: Pedroski55
  how json dump Japanese yunkai 2 7,998 Mar-17-2020, 07:06 AM
Last Post: vishalhule
  Hollow triangle-drawing characters param error. phob0s 4 2,568 Jul-31-2019, 08:18 AM
Last Post: phob0s
  Unicode error deedeed 5 3,908 Jun-28-2019, 06:15 AM
Last Post: deedeed
  clean unicode string to contain only characters from some unicode blocks gmarcon 2 3,916 Nov-23-2018, 09:17 PM
Last Post: Gribouillis
  Need to replace (remove) Unicode characters in text ineuw 1 8,527 Jan-02-2018, 08:01 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020