I am trying to convert characters like:
ª Â Ã ñ
to their numerical character reference:
#170; #194; #195, #241
Note: all of the num. char. ref are preceeded with an ampersand but could not enter that as it would convert these reference to there actual values.
TIA,
Harold
Hi,
I have a question regarding spanish content and the use of regsub. We are submitting content to an Oracle db set up to handle UTF-8. The columns store the data properly. The question arises when we submit content from a text area or text field of an html form that contain characters like...
I need to be able to retrieve the contents of a file and set them to a variable.
Anyhow, this is what I have so far. I am able to return the channel fine but can't retrieve what is in the file. Here is the code snippet that I am using. Keep in mind that I have left out the fully qualified...
Hi all,
BTW, in my examples below where you see "<" and ">" replace them with the HTML entity when running the scripts, the browser has converted them to the actual character.
Seems like all my issues revovle around mappings and string replacement. aarrghh! Anyhow, I have...
I have a string that I would like to change the case of only the first letter to upper case. This string can be any word. Anyhow, I am trying to apply string mapping to it to accomplish this. Yeah, sure I could map each character of the alphabet to its corresponding uppercase value but that...
Hi, Below I have four comparison tests. I am curious as to which would provide the least overhead and/or fastest results.
set var 1
if {$var ==1} {
..do something
}
if {[string equal $var 1] == 1} {
..do something
}
if {[string match 1 $var] == 1} {
..do something
}
if {[string...
Hi all,
I have a window which contains a form and in the form contains an object I have created known as "MyContent1". From this object I can open a popup window. This popup contains a search form. At this time I am still able to call methods from the object on the parent window...
Hi all,
I am trying to replace html characters with their encoded entities. More specifically I am trying to replace " and & with their encoded entity " and &.
The problem is that the character & is a special sequence and is replaced with the string that matches the pattern...
Hi all, first post here.
When setting a variable within a switch statement, is that variable available outside the scope of the switch statement. We have been having issues where we set a variable within the switch statement and then try to use that variable's values outside the switch...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.