If things are set up properly, you shouldn't need to do any manual conversion. The DB and JDBC driver handle it for you.
You say your DB is using CCSID 37, which is English as used in the US, Canada, Netherlands, Portugal, Brazil, New Zealand, Australia.
To handle Polish characters, you'd probably need CCSID 870 (per Language identifiers and associated default CCSIDs)
However, CCSID is assigned per column. So everything in that column in that table would need to be in one or the other CCSID.
If you need to store both English & Polish in the same column in the same table, then the best option would be to change the column(s) to Unicode.
Alternatively, you could flag the data as "binary" CCSID 65535, so that the system won't try to convert it. You'd need translate binary=false and your application would be responsible for knowing which records were in English and which were in Polish. So you'd need some additional flag field in the record.
stringFromDb.geBytes("Cp037")select cast(columnname as varchar(255) CCSID 037) from table.