# Url encode problem

**URL:** <https://forum.kirupa.com/t/url-encode-problem/46313>\
**Category:** Uncategorized\
**Created:** [March 23, 2004, 9:30am UTC](https://forum.kirupa.com/t/url-encode-problem/46313 "2004-03-23T09:30:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanley](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Stanley](https://forum.kirupa.com/u/Stanley)\
**Post date:** [March 23, 2004, 9:30am UTC](https://forum.kirupa.com/t/url-encode-problem/46313/1 "2004-03-23T09:30:25Z")

</div>

Hey people.

I searched the forum first, found a lot of answers, but not for this question.

I need to display a dynamic text in a textbox. In my txt file there are some “&” and “+” characters that need to be displayed. So I URL encoded these characters. “&” becomes %26 and “+” becomes %2b. Strange thing is: it works perfect for the “+”, but the “&” won’t show nowhere…

Changing my txt file from Unicode into UTF 8 doesn’t help.  
Tried using System.useCodepage = true;

Nothing works,  
help
