We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Apply
  • Hiring developers?
  1. Prepare
  2. Ruby
  3. Strings
  4. Ruby - Strings - Encoding
  5. Discussions

Ruby - Strings - Encoding

Problem
Submissions
Leaderboard
Discussions

Sort 24 Discussions, By:

recency

Please Login in order to post a comment

  • yashdeora98294
    11 months ago+ 0 comments

    Here is ruby - strings - encoding problem solution - https://www.gyangav.com/2022/10/hackerrank-ruby-strings-encoding-problem-solution.html

    0|
    Permalink
  • kritikraj83
    12 months ago+ 0 comments

    Here are the solution of HackerRank Ruby Strings Encoding Solution you can find All HackerRank Ruby Tutorial solutions in Single Post HackerRank Ruby Tutorial solutions

    0|
    Permalink
  • bhavana_na_08
    1 year ago+ 0 comments
    def transcode(encoded_input_string)
        encoded_input_string.force_encoding(Encoding::UTF_8)
    end
    
    def transcode_to_ISO_8859_1(encoded_input_string)
        encoded_input_string.force_encoding(Encoding::ISO_8859_1)
    end
    transcode(transcode_to_ISO_8859_1("Bhavana"))
    
    0|
    Permalink
  • aziznusratullay1
    1 year ago+ 0 comments

    What's wrong!

     def transcode a
     a.encode(Encoding::UTF_8)
    end
    
    0|
    Permalink
  • tvbach20
    1 year ago+ 0 comments

    def transcode(string) string.force_encoding(Encoding::UTF_8) end

    0|
    Permalink
Load more conversations

Need Help?


View top submissions
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy