gemot encubed  

Go Back   gemot encubed > Gemot > Technical Issues

Technical Issues For bug reports, problem solving, and help running Japanese software.

Thread Tools Display Modes
Old 2009-07-11, 23:52
Posts: n/a
Default Finding text from Japanese files

Sorry, this isn't really VN related, but this is the only place I can think of where people could have an idea about this. In short, I have a bunch of .txt files, encoded in UTF-8, containing Japanese text. I want to be able to find strings of text from these files quickly, akin to UNIX 'grep' or Windows 'find'.

I'm running Windows XP under Japanese locales, and the problem seems to be that 'cmd' and everything one normally runs under it, such as 'find', tries to interpret my files as SHIFT-JIS, so they come out as gibberish and I can't find the correct string, because it does read my own input correctly. I tried converting a few of my files into SHIFT-JIS and I can search from them apparently, but I would rather not do this to all of my files.
Reply With Quote
Old 2009-07-12, 00:33
Posts: n/a

Use alternative Shell, such as FAR, Total Commander etc.
Reply With Quote
Old 2009-07-13, 23:37
Message's Avatar
Message Message is offline
Join Date: Dec 2003
Location: Netherlands
Posts: 323

Doesn't Agent Ransack support UTF8?
Reply With Quote
Old 2009-07-24, 15:32
Rasqual Twilight
Posts: n/a

@Message: Last time I tried, it didn't seem to work.

I have a more cumbersome method using a "Find in Files" feature of a hexeditor, but nothing automated in a CLI. Maybe pcregrep (from PCRE) could help ?

Upon browsing my download folder, I stumbled upon a utility called grepfolder. It doesn't work on the commandline, but supposedly does what you're looking for.

Last edited by Rasqual Twilight; 2009-07-25 at 05:59.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hitomi - my stepsister text files. nessikari Technical Issues 6 2012-11-18 06:51
Finding Fate/Stay Night Inexperienced Gaijin General Discussion 7 2012-02-08 17:02
"Temptation Naked" game looking for help with .ks files/finding game texts TaZ Technical Issues 11 2008-04-01 20:55
encrypted japanese text papillon Technical Issues 8 2007-11-21 14:48
Kanon text General Discussion 5 2006-10-12 06:54

All times are GMT -8. The time now is 12:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.