473,805 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1122

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2350
by: Bob | last post by:
I've tried everything; and I can't seem to get past this VERY (seemingly) simply problem. I want to work with an array variable within a function(s). I can't get it to work; if I: 1) global $arr=array(); (syntax err) 2) global $arr; in "main", the var isn't global 3) global $arr; in function, the array is cleared each time
0
1890
by: MarionEll | last post by:
XML 2003 to Highlight Key Publishing Trend: XSL-FO Tools XSL-FO “Chef’s Tools Exhibition” Slated for 7 p.m. Dec. 10; Premier XML Industry Event Runs Dec. 7-12 in Philadelphia Alexandria, Va. October 7, 2003 - IDEAlliance, a leading trade association dedicated to fostering XML and other information technology standards, today announced that XML Conference and Exposition 2003 will feature an XSL-FO “Chef’s Tools Exhibition”...
5
9017
by: Jonathan Snook | last post by:
Witty subject aside, I have an issue... shouldn't ™ or it's numerical equivilent ™ be language independent? Such that if the language of the document is set to "fr" it would be the MC instead of the TM? Or is there a french equivilent that I'm not familiar with? Jonathan
2
1532
by: googley | last post by:
Hello... I have a site with about 50-100 pages. All the pages have the same layout. Just the text is different. My plan is to create "1" page and use it as a template for the rest...just filling it with textual content. I would like the flexibility of adjusting the pages WIDTH (by changing the table WIDTH) at some later date without having to go to every individual page to make the change. I've used the STYLES feature in FP - love it!...
0
1195
by: Per Clausen | last post by:
Hello, Is it possible to change the Thread.CurrentThread.CurrentUICulture globally so that all threads etc. will use the same culture? We have a multi-language application where we use resources from threads and and also in async. events invoked with BeginInvoke. Everything works fine as long as we are on the process GUI thread but all resources created on a different thread uses the OS language
2
2289
by: aevans1108 | last post by:
Greetings Please give me a push in the right direction if this the wrong place to ask this question. Why is it that I can get the count of facets for an element restriction if the corresponding simpleType is declared inline, but I can't get it if the simpleType is globally defined? Given this schema:
4
3053
by: Cliff Harris | last post by:
Is there a way for me to globally add a javascript block to all pages? I was hoping I could use one of the application events, but I don't seem to have access to the page object to use RegisterClientScriptBlock. Is there a way for me to accomplish this without adding something to every page? Thanks, -cliff
0
1070
by: Miloann | last post by:
I am evaluating an inhouse application developed in MS Access 97 but has been converted to 2007. I would like to evaluate data integrity, program bugs, and globally health of the design. Does anyone know any tools that can be of help for the purposes? Thanks.
4
1120
by: Mufasa | last post by:
I have a group of people at work (Marketing) who have asked 'Why does it take so long to develop a 'simple' web site when we can just go on-line and use a tool to create one?' I point out that the one's on-line can't add the extra functionality that a 'programmed' web site can. But other than that, I'm really kind of at a lose. So the question is, does anybody know of any good tools where people can 'edit' websites with have little or...
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10607
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10104
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9182
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7645
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6875
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3843
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.