From: 7stud -- Date: 2009-05-10T05:15:56+09:00 Subject: Re: converting UTF-8 to entities like 剛 7stud -- wrote: Whoops. With the 'm' switch: /..../m or /.{4}/m -- Posted via http://www.ruby-forum.com/.