472,145 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

Tools of the trade: globally changing code

I need to make certain changes to multiple pages within the site under
development, what's the easiest way to do that?
If both the code to be replaced in a page and it's replacement contain
only ASCII-code, I can use tools such as sed, grep, gawk, etc. and the
problem is solved. (or alternatively, code to be inserted or deleted)
My problem lies with dealing with bidirectional unicode texts, part of
the code is in English (usually the HTML tags), and part of the code is
in Hebrew (the text). How do I automate the replacement? I've tried to
make scripts in both python and perl, or more modifying scripts I found
to my situation, since I have virtually no knowledge of either
language, but with no results.

Since I'm sure this is not the first time such a problem was
encountered while authoring, do you have any tips on authoring tools to
use? Authoring tools or existing scripts that can do such scripting and
deal with bidirectional unicode (UTF-8) code?

Jan 18 '06 #1
0 1069

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Jonathan Snook | last post: by
4 posts views Thread by Cliff Harris | last post: by
4 posts views Thread by Mufasa | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.