Using high-transverse-momentum charged-kaon production data in pip and
pp collisions (2 less than or similar to p(T) less than or similar to
6 GeV/c), we determine the up-quark fragmentation function into charg
ed kaons, within QCD ambiguities. Deep-inelastic EMC data favours a so
ft solution obtainable by a hard gluon distribution (D-0 set 2) at a r
elatively low factorization scale (Q2 is similar to 1/2p(T)2).