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 4086768
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:46:12+00:00 2026-05-20T18:46:12+00:00

I have a really weird WCF problem here… We’re connecting to a crappy third-party

  • 0

I have a really weird WCF problem here…

We’re connecting to a crappy third-party web service; it was a nightmare to even get it going, we had to create a custom WCF binding since those guys decided to use “ISO-8859-1” as their text encoding (instead of UTF-8 like everyone else on the web), and the other settings were messy, too – and not documented anywhere, of course…

It’s been working ok for a while now, but suddenly, some of our data coming back in mangled up. We expect to get back names of places, and being in Switzerland, some of those have German umlauts in them. But for the past two or three months, we suddenly get back

Hünibach

instead of the proper

Hünibach

So the ü (u umlaut) is mangled.

No problem, I figured they finally switched to UTF-8, and I changed my custom binding to use UTF-8 as its text encoder instead of ISO-8859-1 – but no luck – no I’m getting:

EXCEPTION: System.ServiceModel.Security.MessageSecurityException
The HTTP request was forbidden with client authentication scheme ‘Basic’.

What the f????? The service is protected by a username/password which we pass in using the ClientCredentials of WCF. Seems that changing the text encoding somehow messes up the credentials !?!?! Weird…..

OK – back to ISO-8859-1, and I just tried to interpret the response payload as UTF-8 – again no luck 🙁 Tried with UTF-16, UTF-32, UTF-7 even, Unicode, BigEndianUnicode – all to no avail.

So how on earth do I get back my proper umlauts, and still be able to call that bloody service… works just fine in SoapUI, btw…..

Any ideas?? I’m desperately grasping at any straws you might throw me!!

  • 1 1 Answer
  • 1 View
  • 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-20T18:46:13+00:00Added an answer on May 20, 2026 at 6:46 pm

    Try inspecting the data you are getting back and see what numeric codes they are using to represent it. Umlaut is one of those characters in 8859-1 that shares code with other characters.

    See second para in – http://en.wikipedia.org/wiki/%C3%9C#Typography

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

Sidebar

Related Questions

IDE = VS7 or 2002 Hi all, I have a really weird problem here.
I'm battling a really weird problem here. I have a Windows 2008 R2 server
This is the second time that I have this really weird problem with WCF
We have this really weird problem in a Web Application when using ActiveRecord 2.0
I have a really weird issue here. I'm using my local development server right
I have a really weird problem with fgets() in C. Below is the code
I've been having a really weird problem. I have a mutable array that is
I have a very weird problem.. I really do hope someone has an answer
I have a really weird problem. The below code works fine if I create
I have a really weird problem with /bin/bash and a script that uses printf

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.