Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regsub and spanish tilde

Status
Not open for further replies.

cubicle4

Programmer
Jun 18, 2001
18
US
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 the tilde. Out of sheer luck we regsubbed one of the fields values before submitting to the db. This one field stored the tilde correctly while all the others did not. Here is the regsub code:

proc localization {inString} {
regsub -all {} $inString {} outString
return "$outString"
}

Why does this allow that character (tilde) to be stored correctly?

tia,

Harold
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top