changed the linkpath field to be encoded by UTF-8
@@ -240,7 +240,7 @@ | ||
240 | 240 | tar_detail::is_non_ascii(head.link_path.string()) ) |
241 | 241 | { |
242 | 242 | std::string linkpath = |
243 | - tar_detail::to_tar_string(head.link_path.string()); | |
243 | + tar_detail::to_pax_string(head.link_path.string()); | |
244 | 244 | ex += tar_detail::make_ex_header_recoed("linkpath", linkpath); |
245 | 245 | |
246 | 246 | long_link.resize(tar::raw_header::name_size); |