Replace cloud symbol with single quotes

Dear Experts

My source file contains the symbol cloud ().

How do i replace this symbol whose Unicode value is 2601 in linux file with single quotes ?

Any help will be much appreciated.

Many thanks

Write a C program.
read character by character

get decimal value of the character then compare with the CLOUD decimal value. ( decimal value of the CLOUD is 9729)

if the character is "CLOUD" then replace the character as what you want.

Refer the Link.
Miscellaneous Symbols - Test for Unicode support in Web browsers

Hi ungalnanban

Thanks for your time and reply, will you be able to give me the code in C ?

Thanks

Hi pklcnu

First you try to write the program. if you face any problem I will help you.

Here is the beginning stage of code that fulfill your stuffs

#include<stdio.h>
int main()
{
        FILE *fp;
        int c;
        fp = fopen("input_file","r");
        if ( fp == NULL )
        {
                perror("Error opening file: ");
                return -1;
        }
        else
        {
                do{
                c = fgetc(fp);
                printf("%d\n",c);

                //compare the uinicode value of the cloud here and do the stuffs
                }while(c != EOF );
                fclose(fp);
        }

        return 0;
}