From fd7cede17e027a83de2aff3bc0f5ee875271e444 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 9 Aug 2018 21:32:47 +0000 Subject: Move all utf8 decoding under fx_string.h Put encoder in cfx_utf8encoder.{h,cpp} to parallel decoder. Add tests, and fix one corner case involving 0xff. Change-Id: Ib97540afdc708bcc6280a79c76734ec68ea72690 Reviewed-on: https://pdfium-review.googlesource.com/39770 Commit-Queue: Lei Zhang Reviewed-by: Lei Zhang --- BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index afa83e358a..f08ce43225 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -858,6 +858,8 @@ jumbo_static_library("fxcrt") { "core/fxcrt/cfx_seekablestreamproxy.h", "core/fxcrt/cfx_utf8decoder.cpp", "core/fxcrt/cfx_utf8decoder.h", + "core/fxcrt/cfx_utf8encoder.cpp", + "core/fxcrt/cfx_utf8encoder.h", "core/fxcrt/cfx_widetextbuf.cpp", "core/fxcrt/cfx_widetextbuf.h", "core/fxcrt/fileaccess_iface.h", -- cgit v1.2.3