•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 363,806 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,655 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser:
Views: 684 | Replies: 1
![]() |
•
•
Join Date: May 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I am having a problem. I am trying to print the copyright symbol using echo command. But the copyright symbol should be placed in an xml tag. For instance this is my shell script code
echo "<string>""3.15," © "Copyright 2008 My company Inc. All rights reserved.""</string>"
when i copy this above script in terminal and run .... It put the value \302\251 instead of "©"
I tried replacing the "©" with the "\302\251 " in the script which i got from the terminal. But when i run from the shell script it is not working
Any help?
Thanks in Advance
echo "<string>""3.15," © "Copyright 2008 My company Inc. All rights reserved.""</string>"
when i copy this above script in terminal and run .... It put the value \302\251 instead of "©"
I tried replacing the "©" with the "\302\251 " in the script which i got from the terminal. But when i run from the shell script it is not working
Any help?
Thanks in Advance
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Shell Scripting Marketplace
- Previous Thread: Giving input
- Next Thread: Shell Script for yesterday's date.


Linear Mode