Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3976988
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:52:13+00:00 2026-05-20T04:52:13+00:00

i am encoding in my controller when saving record. The thing is that when

  • 0

i am encoding in my controller when saving record. The thing is that when i enter this record abcccc:abcccc , the thing after : will be trimmed. it is working fine with other characters but : it is trimming after that . what might be the problem? The records are saved after doing Server.htmlencode

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:52:13+00:00Added an answer on May 20, 2026 at 4:52 am

    Server.HtmlEncode(“abcccc:abcccc”) returns “abcccc:abcccc” as there is nothing to encode.

    I suspect the problem is somewhere else. Have you tried debugging the code?

    PS. Why are you Html encoding data in the database in the first place?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an mp3 encoding server running on Ubuntu (natty). This has been working
<%= link_to '注销', :controller => :user, :action => :logout %> this raises Encoding::Compatibility exception,
I have an ActionMailer controller that's supposed to send this file: /user_mailer/welcome_email.text.erb This is
I've a rails controller that respond_to JSON with a wrong encoding. The site is
I need to parse some XML that triggers an NSURLConnection. After the parsing finished,
Background I have a web application that uses ISO-8859-1 encoding. When I pass parameters
I have a WebAPI controller that need to download some files depending of the
There's a sample ASP.NET project with this controller: using System; using System.Collections.Generic; using System.Web;
I have an jQuery autocomplete field with non latin characters. My Controller has this
i have an MVC Controller that returns: public JsonResult ValidateUser(string siteId, string userName, string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.