[latex3-commits] [git/LaTeX3-latex3-pdfresources] radiobuttons: correct encoding textfields (b20a345)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jun 1 22:45:00 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : radiobuttons
Link       : https://github.com/latex3/pdfresources/commit/b20a345e9103c67eaa63962ca28c1ca54af0b67e

>---------------------------------------------------------------

commit b20a345e9103c67eaa63962ca28c1ca54af0b67e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jun 1 22:45:00 2021 +0200

    correct encoding textfields


>---------------------------------------------------------------

b20a345e9103c67eaa63962ca28c1ca54af0b67e
 l3pdffield-textfield.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/l3pdffield-textfield.dtx b/l3pdffield-textfield.dtx
index 9df309c..7e6662a 100644
--- a/l3pdffield-textfield.dtx
+++ b/l3pdffield-textfield.dtx
@@ -637,7 +637,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_textfield_V_handler:nN #1#2
   {
-     \pdf_string_from_unicode:nnN {utf8/string}{#1}#2
+     \pdf_string_from_unicode:nnN {utf16/hex}{#1}#2
   }
 %    \end{macrocode}
 % \end{macro}
@@ -646,11 +646,11 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_textfield_value_handler:n #1
   {
-    \keys_set:nn{pdffield}{V={#1}}
+     \keys_set:nn{pdffield}{V={#1}}
   }
 \cs_new_protected:Npn \@@_textfield_default_handler:n #1
   {
-    \keys_set:nn{pdffield}{DV={#1}}
+     \keys_set:nn{pdffield}{DV={#1}}
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.