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...
Actually, just found out, that yes indeed it does work. Just so happens that the file I was trying to read had no data in it. Pretty funny, yet pretty stoopid. Should have confirmed the data first. Thanks - Harold
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...
Ken,
Usually, I am enlightened by your responses. However, this time I was aware of the regsub behavior with regards to ampersands and likewise I agree with you. Also, and I should have included this relevant information in the initial post, the string(file path) that I am wanting to regsub...
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...
Ken,
That is very interesting, and also very thorough. I appreciate the effort put forth. I agree, these numbers are very small and pretty much insignificant. Although, this was a good lesson.
Thanks,
Harold
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,
I have discontinued my efforts and went with a solution that already works, however would still like to resolve this as it adds greater functionality. The popup window code that I have include is the original. If you need more info then I would be glad to send you the templates that I was...
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...
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.