Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

character-encoding

WebClient.DownloadString() returns string with peculiar characters

September 3, 2022 by Magenaut

I have an issue with some content that we are downloading from the web for a screen scraping tool that I am building.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, character-encoding, special-characters Leave a comment

ASP.NET Excel export encoding problem

September 2, 2022 by Magenaut

I’m doing some Excel Exports on the ASP.NET Site.
Everything works except of the Encoding. When I open it in Excel, it looks like this:

Categories ASP.NET, Q&A Tags asp.net, character-encoding, encoding Leave a comment

Is “ ” a replacement of ” “?

August 30, 2022 by Magenaut

In my ASP.NET application, I was trying to add few white spaces between two text boxes by typing space bar. The equivalent HTML source was   instead of  . So I just wanted to check: is this the new replacement for white space? If yes, any idea why they changed?

Categories ASP.NET, Q&A Tags asp.net, character-encoding, html, visual-studio-2008 Leave a comment

accented French characters

August 27, 2022 by Magenaut

Is there any problem with ASPX to render french accented characters?

Categories ASP.NET, Q&A Tags asp.net, character-encoding, encoding, internationalization Leave a comment

What decodes my encoded hash symbol(%23)?

August 25, 2022 by Magenaut

We noticed that several machines have problems with URLs with hash parameters.

Categories ASP.NET, Q&A Tags asp.net, c#, character-encoding, hash, iis Leave a comment

Return file download from byte[]

August 24, 2022 by Magenaut

This code

Categories ASP.NET, Q&A Tags asp.net, asp.net-mvc-4, character-encoding Leave a comment

Garbled httpWebResponse string when posting data to web form programmatically

August 23, 2022 by Magenaut

I tried to search previous discussion about this issue but I didn’t find one, maybe it’s because I didn’t use right keywords.

Categories ASP.NET, Q&A Tags asp.net, c#, character-encoding, httpwebrequest, httpwebresponse Leave a comment

Best way to convert string to bytes in Python 3?

August 22, 2022 by Magenaut

TypeError: ‘str’ does not support the buffer interface suggests two possible methods to convert a string to bytes:

Categories Python, Q&A Tags character-encoding, python, python-3.x, string Leave a comment

Reading a UTF8 CSV file with Python

August 21, 2022 by Magenaut

I am trying to read a CSV file with accented characters with Python (only French and/or Spanish characters). Based on the Python 2.5 documentation for the csvreader (http://docs.python.org/library/csv.html), I came up with the following code to read the CSV file since the csvreader supports only ASCII.

Categories Python, Q&A Tags character-encoding, csv, python, utf-8 Leave a comment

“for line in…” results in UnicodeDecodeError: ‘utf-8’ codec can’t decode byte

August 20, 2022 by Magenaut

Here is my code,

Categories Python, Q&A Tags character-encoding, python, python-3.x Leave a comment
Older posts
Page1 Page2 … Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress