2

enter image description here

Normally, this link redirects to #/wines/scope=rosé.

If I use angular, the link redirects to #/wines?scope=ros%C3%A9.

The source is not altered in any way by angular, only the behavior when clicking on it.

How can I make angularjs redirect to the link with the é instead of the %C3%A9?

Vlad Nicula
  • 3,577
  • 6
  • 32
  • 50
  • 4
    What encoding is the page in? 0xC3 0xA9 is the UTF-8 encoding for 'é'... I have a feeling the behaviour you want depends on the browser too (how it displays non-ASCII text in the location bar). – Cameron Jun 11 '13 at 06:26
  • You are right, I am using UTF-8. However, even with just UTF-8, I can use the href without any problems in my document. The replacing only happens once I activate angularjs. – Vlad Nicula Jun 11 '13 at 06:47
  • 1
    Fascinating, +1. I have no idea why! – Cameron Jun 11 '13 at 07:02
  • possible duplicate of [Turn off URL manipulation in AngularJS](http://stackoverflow.com/questions/18611214/turn-off-url-manipulation-in-angularjs) – Paul Sweatte Jul 24 '15 at 13:47

0 Answers0