• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Umlaute probleme by Axis Call invoke(Object array)

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,everyone,

i have this problem since 3 days, i'll be crasy!

so at firstz i create the "initoperationDesc()":



than create call:


So at the end i want to get my string from call.invoke():


So please help, what did i false?
 
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
UTF-8 is the default encoding for XML, so it could be ommitted.

Are you sure the characters are encoded incorrectly or is it possible it is "only" an output problem. Some consoles may not be able to present the characters correctly.
 
sindy lee
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the Reply,

"printing out" is just the way, what i test the encoded string correct or not, because at the end i want to show this characters in a dialog, and now all data are correct, only these umlaute displayed crasy.

otherwise how can i know, wheater it encoded realy correct or not?
 
Hauke Ingmar Schmidt
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could either in inspect the bytes you receive to see what you get exactly or you save them to a file in a completely controlled way i.e. set the encoding on every conversion from/to String and on every file operation/reader/writer. Then you could just check with an encoding-aware editor.

"Only" the umlauts are crazy is not very helpful. If all other data is latin alphabet without any special characters then most likely a problem will never occur because they have the same code point (ASCII position) in virtually every encoding. The problem still lurks for the time you get some unexpected characters.
 
reply
    Bookmark Topic Watch Topic
  • New Topic