After looking at the p4 help for this cli var, I see they call it
charset and not unicode.  Changes below:
-----------------------------------------------------------------------------------------------------------
module Capistrano
  module Deploy
    module SCM

      class Perforce < Base
        private

          # override
          def authentication
            [ p4port        && "-p #{ p4port }",
              p4user       && "-u #{ p4user }",
              p4passwd  && "-P #{ p4passwd }",
              p4client     && "-c #{ p4client }",
              p4unicode && "-C #{ p4charset }" ].compact.join(" ")
          end

          # new
          def p4charset
            variable(:p4charset)
          end

      end
    end
  end
end
-----------------------------------------------------------------------------------------------------------

And in case it wasn't clear, I would add the following to my deploy.rb
file:
set :p4charset, 'utf8'

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to