Convert Java Object 한글깨짐

안녕하세요,

method return값이 string일때 Convert Java Object Activity를 사용하니 한글이 깨져서 보입니다.

해결할 방법이있을까요?

Hi @suhyeon

Check this for your reference

https://activities.uipath.com/docs/about-the-java-activities-pack

Thanks
Ashwin.S

Hi @AshwinS2

Issue is…
convert java object Result is string type.
But that string is broken.

Chances are it needs encoding but I don’t know how to handle it.

Thanks

안녕하세요
Windows Java 환경에서 사용하는 한글 인코딩과 Windows .NET 인코딩이 달라서 이런 현상이 발생하는것 같습니다.
제가 테스트해본 내용은
Java 코드에서 한글이 포함된 String을 UiPath 쪽으로 넘길때
Java String을 Base64로 인코딩 해서 전달하고, UiPath Workflow 파일에서는 Base64 Decoding 이후 문자 Encoding을 “ksc_5601” 로 한번 해보세요.
더 나은 해결 방법이 있을것 같은데, 우선 workaround로 적용해보세요.

간단하게 확인한 내용 공유해 드립니다.

감사합니다! 알려주신함수로 인코딩했더니 됐습니다 :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.