special charecters Parameters is not getting passed from angular to Web API in the get call code example

Example: special charecters Parameters is not getting passed from angular to Web API in the get call

import { HttpParameterCodec } from '@angular/common/http';export class CustomHttpParamEncoder implements HttpParameterCodec {  encodeKey(key: string): string {    return encodeURIComponent(key);  }  encodeValue(value: string): string {    return encodeURIComponent(value);  }  decodeKey(key: string): string {    return decodeURIComponent(key);  }  decodeValue(value: string): string {    return decodeURIComponent(value);  }}