본문 바로가기
개발/Flutter

flutter 에서 인터넷 문자 -> String 으로 바꾸기

by dev_caleb 2022. 12. 7.
728x90

https://stackoverflow.com/questions/69264655/how-to-convert-utf8-to-text-in-dart

 

How to convert utf8 to text in dart

I want to convert special character utf8 value to it's text. For example, if input is %20, the output will be whitespace if input is %23, the output will be #

stackoverflow.com

 

 

Uri.decodeComponent(utf8String); 

 

이렇게 하면 된다..

728x90